Skip to content

Browse components

← All components

Marker

Status notes, date separators, and system rows.

Install
npx shadcn@latest add https://ui.anuragroy.dev/r/marker.json

Preview

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.json

GitHub fallback if the website is down:

Terminal
npx shadcn@latest add https://raw.githubusercontent.com/anurag-roy/ui.anuragroy.dev/main/public/r/marker.json

Usage

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

PropTypeDefault
variant"default" | "separator" | "border""default"
renderReact.ReactElement—
  • render — Base UI `render` prop for a custom element.