Tori Bryan

Annotated Text

Text 29

About

A span that draws a hand-sketched mark (underline, circle, highlight, box, bracket, strike, cross or arrow) on a word or phrase, plus sticker-style chips that can cycle through a list of words.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Annotated Text to your project and fits it to your theme.

Code

How Annotated Text is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import {
  AnnotatedText,
  AnnotatedTextChip,
  AnnotatedTextCycle,
} from "@/components/ui/annotated-text";

export default function AnnotatedTextDemo() {
  return (
    <div className="flex min-h-[420px] w-full items-center justify-center bg-background p-10 text-foreground">
      <p className="max-w-xl text-center text-2xl leading-relaxed text-balance">
        Ship a <AnnotatedText variant="highlight">beautiful</AnnotatedText>{" "}
        design system without the{" "}
        <AnnotatedText variant="strike">headache</AnnotatedText> busywork of
        building one from{" "}
        <AnnotatedText variant="circle" tone="info">
          scratch
        </AnnotatedText>
        . Add a <AnnotatedTextChip icon="✨">sticker chip</AnnotatedTextChip>{" "}
        for the fun parts, or let a word{" "}
        <AnnotatedTextCycle
          items={[{ label: "cycle" }, { label: "rotate" }, { label: "change" }]}
        />{" "}
        on its own.
      </p>
    </div>
  );
}

Dependencies

More by Tori Bryan

View all
  • Portfolio Banner

    Portfolio Banner

    37
  • Token Flow

    Token Flow

    32
  • Rich Text Editor

    Rich Text Editor

    13
  • Chat Composer

    Chat Composer

    5
  • Count

    Count

  • Reactions

    Reactions

  • Pixel snail

    Pixel snail

  • Integration Orbit

    Integration Orbit

More in Text

View all
  • Motion Blur Text

    Motion Blur Text

    45
  • Rainbow Text Effect

    Rainbow Text Effect

    58
  • Blur Reveal

    Blur Reveal

    71
  • Text Reveal

    Text Reveal

    29
  • Short Slide Down

    Short Slide Down

    45
  • Scroll Fill Headline

    Scroll Fill Headline

    12
  • Text Highlight

    Text Highlight

    96
  • Apple Hello Effect

    Apple Hello Effect

    659