A marker pen that sweeps behind your words one line after another, with a chisel tip, slightly ragged edges and ink that pools where each stroke starts and stops; runs when it scrolls into view or when its row is hovered.
akahighlight·marker·text highlight
Run this in any project set up for the shadcn CLI. It copies the Highlighter source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/highlighter.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { Highlight } from "@/components/highlighter";
export default function Page() {
return <Highlight />;
}A free React motion component in the Text collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Highlighter source. Everything is optional unless it says required. It also accepts ComponentProps<"span">.
| Prop | Type | Default |
|---|---|---|
| color | HighlightColor | "yellow" |
| trigger | HighlightTrigger | "view" |
| active | boolean | false |
| delay | number | 0 |
| speed | number | 700 |