Skip to content
Premium & Brand

Highlighter

Server Component

A 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>

Skip HighlighterProps props table
PropTypeDefaultDescription
ref
Ref<HTMLSpanElement>
duration
number0.6Seconds the marker takes to draw on.