# Marker

> Status notes, date separators, and system rows.

Registry name: `marker`. HTML docs: https://ui.anuragroy.dev/component/marker.

## Install

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

If the website is down: `npx shadcn@latest add https://raw.githubusercontent.com/anurag-roy/ui.anuragroy.dev/main/public/r/marker.json`.

Registry JSON: https://ui.anuragroy.dev/r/marker.json (GitHub: https://raw.githubusercontent.com/anurag-roy/ui.anuragroy.dev/main/public/r/marker.json).

## Import

Import paths follow the consumer `components.json` aliases. After a default install:

```tsx
import {
  Marker,
  MarkerContent,
  MarkerIcon
} from "@/components/ui/marker"
```

## Usage

```tsx
import { Marker, MarkerContent } from "@/components/ui/marker"

export function Example() {
  return (
    <Marker variant="separator">
      <MarkerContent>Today</MarkerContent>
    </Marker>
  )
}
```

## API

### Marker

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `variant` | "default" \| "separator" \| "border" | "default" |  |
| `render` | React.ReactElement | — | Base UI `render` prop for a custom element. |

## See also

- [HTML page](https://ui.anuragroy.dev/component/marker): Preview and the same docs in the site chrome.
- [Registry item](https://ui.anuragroy.dev/r/marker.json): Source files and dependencies.
- [Catalog](https://ui.anuragroy.dev/component): All components.
- [llms.txt](https://ui.anuragroy.dev/llms.txt): Agent index for this library.
