Command Palette

Search for a command to run...

Marker

shadcn/ui

Highlights status indicators, badges, or timeline waypoints with icons and content.

Marker
Started deployment pipeline for production
Today
All verification checks passed before release

import { Marker, MarkerContent, MarkerIcon } from "@/components/optics/marker";import { Calendar, CheckCircle2, Sparkles } from "lucide-react";<div className="flex w-full max-w-md flex-col gap-6">  <Marker>    <MarkerIcon>      <Sparkles />    </MarkerIcon>    <MarkerContent>      Started deployment pipeline for production    </MarkerContent>  </Marker>  <Marker variant="separator">    <MarkerIcon>      <Calendar />    </MarkerIcon>    <MarkerContent>      Today    </MarkerContent>  </Marker>  <Marker variant="border">    <MarkerIcon>      <CircleCheck />    </MarkerIcon>    <MarkerContent>      All verification checks passed before release    </MarkerContent>  </Marker></div>

Installation

pnpm dlx shadcn@latest add @optics/marker

Props

<Marker />
Name
Type
variant
"border" | "separator" | "default"(default: default)
render
string(default: undefined)