Morphing Text

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

Try it: Hover the word to hold it.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/morphing-text.json

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

Usage

import { MorphingText } from '@/components/ui/morphing-text'

Props

Component props
PropTypeDefaultNotes
phrasesstring[]—Phrases to cycle through.
intervalnumber2200ms per phrase.
align'start' | 'center''start'Alignment inside the reserved width.
animateWidthbooleanfalseSpring the width to each phrase instead of reserving the longest.
pauseOnHoverbooleantrueHold the current phrase while hovered.

Dependencies

  • motion
  • Typewriter

    Types and deletes through phrases.

  • Scramble Text

    Characters decode from noise into place.

  • 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.

  • Momentum Caption

    Caption briefly follows pointer velocity.

  • Infinite Marquee

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

  • Wordloom

    Words weave out as threads and resolve the next.

See all 15 Text Animations components