Wensity Labs

Text Scribble

Text 9

About

A React text wrapper that draws a hand-drawn scribble, underline, or strike-through mark over inline text when it enters the viewport, on hover, or on mount.

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

Code

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

Usage.tsx

import { TextScribble } from "@/components/ui/text-scribble";

export default function TextScribbleDemo() {
  return (
    <div className="flex min-h-screen w-full flex-col items-center justify-center gap-8 bg-background px-6 text-foreground">
      <p className="text-2xl font-medium">
        This is a{" "}
        <TextScribble type="scribble">hand-drawn scribble</TextScribble>.
      </p>
      <p className="text-2xl font-medium">
        This text has an{" "}
        <TextScribble type="underline">animated underline</TextScribble>.
      </p>
      <p className="text-2xl font-medium">
        This word is{" "}
        <TextScribble type="strike-through">struck through</TextScribble>.
      </p>
    </div>
  );
}

More by Wensity Labs

View all
  • Sidebar

    Sidebar

    438
  • Calendar

    Calendar

    334
  • Button

    Button

    165
  • Color Picker

    Color Picker

    109
  • Image Comparison Slider

    Image Comparison Slider

    90
  • AI Prompt Input

    AI Prompt Input

    87
  • Text Morphing

    Text Morphing

    67
  • Carousel

    Carousel

    64

More in Text

View all
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    10
  • Scroll Fill Headline

    Scroll Fill Headline

    62
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Shimmering Text

    Shimmering Text

    6
  • Text Reveal

    Text Reveal

    41
  • Apple Hello Effect

    Apple Hello Effect

    689
  • Blur Reveal

    Blur Reveal

    395
  • Scramble text

    Scramble text

    69