Annotated Text
Annotated Text: Hand-drawn text annotations — wavy underlines, highlights, arrows, brackets, and more. Pass variant and optional color to style any inline label or callout. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Annotated Text
npx motion-ui-skill add annotated-textComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Annotated Text
Hand-drawn text annotations — wavy underlines, highlights, arrows, brackets, and more. Pass variant and optional color to style any inline label or callout.
Install
npx motion-ui-skill add annotated-text
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { AnnotatedText } from "@/components/underlines/annotated-text";
export function AnnotatedTextDemo() {
return (
<div className="flex items-center justify-center p-6">
<AnnotatedText />
</div>
);
}
API Reference
AnnotatedText
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |