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

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • react
  • tailwind-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

  • clsx
  • react
  • tailwind-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

Browse this category