Typewriter

Types and deletes through phrases.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/typewriter.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/typewriter. You can also copy the source into components/ui/typewriter.tsx (view on GitHub).

Usage

import { Typewriter } from '@/components/ui/typewriter'
  • Number Ticker

    Counts to a value when scrolled into view with locale-aware grouping and tabular figures; re-animates from the current value when it changes.

  • Morphing Text

    Overlapping blur-morph between phrases, aligned for inline sentences; pauses on hover.

  • Infinite Marquee

    Seamless looping strip with masked edge fades; pauses on hover, focus or with an optional pause button. Wraps statically under reduced motion.

  • Scramble Text

    Characters decode from noise into place.

  • Scroll Text Fill

    A large editorial statement whose words light up one by one as you scroll, each rising a few pixels into place; accent words get a sweeping underline. The full sentence is exposed to screen readers…

  • Momentum Caption

    Caption briefly follows pointer velocity.

See all 15 Text Animations components