Crafter UI

Handwritten Response

Text 63

About

A text component that reveals an AI answer as if it were handwritten in marker pen, with words inking in as they stream and inline markup for a highlighter swipe, a hand-drawn circle, and a crossed-out correction.

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

Code

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

Usage.tsx

"use client";

import * as React from "react";

import { HandwrittenResponse } from "@/components/ui/handwritten-response";

const ANSWER =
  "Five years side by side - ==NVIDIA== is up ((+874%)) and ==AMD== +453%. " +
  "But since ~~Januar~~ January AMD has more than ==doubled.==";

export default function HandwrittenResponseDemo() {
  const [key, setKey] = React.useState(0);

  return (
    <div className="bg-background flex h-full min-h-[460px] w-full flex-col items-center justify-center gap-6 p-8 text-center">
      <HandwrittenResponse key={key} className="max-w-[560px] text-balance">
        {ANSWER}
      </HandwrittenResponse>
      <button
        type="button"
        onClick={() => setKey((k) => k + 1)}
        className="text-muted-foreground hover:text-foreground text-sm underline underline-offset-4"
      >
        Write it again
      </button>
    </div>
  );
}

More by Crafter UI

View all
  • Works Wheel

    Works Wheel

    2.2K
  • Hero Carousel

    Hero Carousel

    1.9K
  • Molten Ring Carousel

    Molten Ring Carousel

    196
  • Dither Helix Carousel

    Dither Helix Carousel

    114
  • Username Reel

    Username Reel

    79
  • Spine Accordion

    Spine Accordion

    56
  • Super Hover List

    Super Hover List

    45
  • Mercury Dial

    Mercury Dial

    5

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

    310
  • Text Reveal

    Text Reveal

    27
  • Apple Hello Effect

    Apple Hello Effect

    610
  • Typography

    Typography

    4
  • Animated Text

    Animated Text

    8