---
title: "Marker"
description: "An inline marker for chats and timelines, such as a date divider or a status note, in plain, separator, and border variants."
plan: Free
docs: https://ui.edbn.me/docs/components/marker
---

# Marker

An inline marker for chats and timelines, such as a date divider or a status note, in plain, separator, and border variants.

## Installation

```bash
npx shadcn@4.19.0 add https://ui.edbn.me/r/marker.json
```

## Dependencies
- npm: @base-ui/react@^1.8.0, class-variance-authority@^0.7.1
- edbn: edbn-base

## Usage

```tsx examples/marker-basic.tsx
"use client";
import { Check } from "lucide-react";
import { Marker, MarkerContent, MarkerIcon } from "@/components/ui/marker";

export default function MarkerBasicPreview() {
  return (
    <Marker variant="separator" className="max-w-wide">
      <MarkerIcon>
        <Check />
      </MarkerIcon>
      <MarkerContent>Today</MarkerContent>
    </Marker>
  );
}
```

## Files
- components/ui/marker.tsx (72 lines)

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
