Forms
Navigation & layout
Data display & feedback
Date & time
Browse components
← All components
Marker
Status notes, date separators, and system rows.
Install
npx shadcn@latest add https://ui.anuragroy.dev/r/marker.jsonPreview
Loading preview…
Installation
Add the component from this site. The shadcn CLI fetches the registry JSON over HTTPS — no named registry submission required.
Terminal
npx shadcn@latest add https://ui.anuragroy.dev/r/marker.jsonGitHub fallback if the website is down:
Terminal
npx shadcn@latest add https://raw.githubusercontent.com/anurag-roy/ui.anuragroy.dev/main/public/r/marker.jsonUsage
Import paths follow your components.json aliases. After install, the default path is @/components/ui/marker.
Import
import { Marker, MarkerContent, MarkerIcon} from "@/components/ui/marker"example.tsx
import { Marker, MarkerContent } from "@/components/ui/marker"export function Example() { return ( <Marker variant="separator"> <MarkerContent>Today</MarkerContent> </Marker> )}API Reference
Marker
| Prop | Type | Default |
|---|---|---|
| variant | "default" | "separator" | "border" | "default" |
| render | React.ReactElement | — |
- render — Base UI `render` prop for a custom element.