Word Settle
- from @snapcn
Word-by-word text animation: words arrive in the accent colour and cool as they land. A sentence that arrives a word at a time, hot, and cools as it lands. Two clocks running at different speeds: words appear left to right every couple of frames, and a colour head crosses the line more slowly behind them, turning the accent into the text colour as it passes — so the newest words are always warm and the oldest always settled. The whole sentence is laid out and centred once and unrevealed words are hidden rather than removed, so the line never reflows under the reader.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @snapcn/word-settleLive preview
No live preview has been built for this component yet.
