About
A small polymorphic label used as a status pill, outlined tag, or centered divider between grouped content such as chat messages.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Marker to your project and fits it to your theme.
Code
How Marker is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import Marker, { MarkerIcon, MarkerContent } from "@/components/ui/marker";
export default function SeparatorMarkerDemo() {
return (
<div className="flex w-full min-h-[220px] items-center justify-center bg-background p-6">
<div className="w-full max-w-md space-y-3">
<div className="rounded-lg border bg-card p-3 text-sm text-card-foreground">
Checkout resilience checks passed. Evidence attached for review.
</div>
<Marker variant="separator">
<MarkerIcon>✓</MarkerIcon>
<MarkerContent>Validation completed</MarkerContent>
</Marker>
<div className="rounded-lg border bg-card p-3 text-sm text-card-foreground">
I’ll inspect the preview before authorizing the release.
</div>
</div>
</div>
);
}








