Highlighter
Hand-drawn emphasis that draws itself into view — marker, underline, circle, strike-through or box.
svgintersection-observer2 files · 100 locdeps: clsx, tailwind-merge
Installation
With the shadcn CLI, pointing at this platform’s registry:
npx shadcn@latest add https://opusui.131199999.xyz/r/highlighter.jsonOr offline, straight from your opus55 checkout (copies every file it needs):
node ../tailwind_component/opus55/scripts/add.mjs highlighterUsage
import { Highlighter } from "@/components/opus/text/highlighter";
Components that <Highlighter>actually ship</Highlighter>API
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "highlight" | "underline" | "circle" | "strike" | "box" | "highlight" | Mark style. |
| color | string | "#facc15" | Ink colour. |
| duration / delay | number | 800 / 0 | Timing (ms). |