About
A React text component that draws a hand-placed highlighter marker band sweeping in behind inline text, tracking wrapped lines and re-fitting on resize.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Text Highlight to your project and fits it to your theme.
Code
How Text Highlight is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { TextHighlight } from "@/components/ui/text-highlight";
export default function TextHighlightDemo() {
return (
<p className="font-display text-2xl text-zinc-900 dark:text-zinc-100">
I think wensity has the <TextHighlight>best components</TextHighlight> on
the internet.
</p>
);
}








