Highlighter
Server ComponentA marker stroke that draws in behind a phrase.
Import
tsx
import { Highlighter } from "@cronus-ui/ui";
bash
npx cronus-ui add highlighter
Examples
API Reference
Generated from the component's exported types.
HighlighterProps
Extends HTMLAttributes<HTMLSpanElement>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLSpanElement> | — | — |
duration | number | 0.6 | Seconds the marker takes to draw on. |