Momentum Caption
Caption briefly follows pointer velocity.
Try it: Sweep the pointer quickly — caption trails, then settles.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/momentum-caption.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/momentum-caption. You can also copy the source into components/ui/momentum-caption.tsx (view on GitHub).
Usage
import { MomentumCaption } from '@/components/ui/momentum-caption'Related Text Animations components
- Scramble Text
Characters decode from noise into place.
- Wordloom
Words weave out as threads and resolve the next.
- Morphing Text
Overlapping blur-morph between phrases, aligned for inline sentences; pauses on hover.
- Glyph Weather
Glyphs drift with scroll direction.
- Typewriter
Types and deletes through phrases.
- Tumble Letters
A headline of physical letters: drop them and they fall, spin, bounce and pile against each other on the floor; hover lifts letters in a wave, any letter can be grabbed and flung, and Reassemble…