honestui

Typewriter

Component

About

Text that types itself out, once or through several phrases, with a blinking caret.

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

Code

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

Usage.tsx

"use client";
import "honestui/theme.css";

import { Typewriter } from "@/components/ui/honest-typewriter";

export default function TypewriterDemo() {
  return (
    <div data-theme="light" className="flex w-full max-w-md flex-col gap-6">
      <h3 className="text-2xl font-semibold tracking-tight text-foreground sm:text-3xl">
        Interfaces that feel{" "}
        <Typewriter
          text={["calm.", "precise.", "accessible.", "honest."]}
          className="text-muted-foreground"
        />
      </h3>
      <div className="rounded-lg border border-border bg-muted/40 px-3 py-2.5 font-mono text-[13px] text-foreground">
        <span className="text-muted-foreground select-none">$ </span>
        <Typewriter text="npx honestui add typewriter" startDelay={600} typeSpeed={45} />
      </div>
    </div>
  );
}

Dependencies

More by honestui

View all
  • Chromatic Text Reveal

    Chromatic Text Reveal

    31
  • Warp

    Warp

    1
  • Morphing Dialog

    Morphing Dialog

    1
  • Schedule Builder

    Schedule Builder

  • Audit Log

    Audit Log

  • Secret Row

    Secret Row

  • Undoable Action

    Undoable Action

  • OTP Field

    OTP Field