Tori Bryan

Annotated Text

Text 9

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

    33
  • Token Flow

    Token Flow

    29
  • Count

    Count

  • Reactions

    Reactions

  • Pixel snail

    Pixel snail

  • Integration Orbit

    Integration Orbit

  • Filter menu

    Filter menu

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    103
  • Rainbow Text Effect

    Rainbow Text Effect

    47
  • Motion Blur Text

    Motion Blur Text

    36
  • Text Loop

    Text Loop

    309
  • Text Reveal

    Text Reveal

    27
  • Apple Hello Effect

    Apple Hello Effect

    610
  • Typography

    Typography

    4
  • Animated Text

    Animated Text

    8