Scramble Text
Characters decode from noise into place.
Try it: Hover to re-scramble and decode.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/scramble-text.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/scramble-text. You can also copy the source into components/ui/scramble-text.tsx (view on GitHub).
Usage
import { ScrambleText } from '@/components/ui/scramble-text'Related Text Animations components
- Morphing Text
Overlapping blur-morph between phrases, aligned for inline sentences; pauses on hover.
- Momentum Caption
Caption briefly follows pointer velocity.
- Typewriter
Types and deletes through phrases.
- Wordloom
Words weave out as threads and resolve the next.
- 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.
- Glyph Weather
Glyphs drift with scroll direction.