For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
71
Sponsor

Per Word Crossfade

Words exit one by one, then new words enter word by word with a slight stagger.

Customize
72
600
1

Installation

$ pnpm dlx shadcn@latest add @framecn/per-word-crossfade

Usage

import { PerWordCrossfade } from "@/components/framecn/per-word-crossfade";
<PerWordCrossfade fromText="Hello world" toText="New world" />

API Reference

PerWordCrossfade

PropTypeDefault
fromTextstring"Hello world"
toTextstring"New world"
fontSizenumber72
colorstring"#171717"
fontWeightnumber600
speednumber1
fpsnumber30
durationInFramesnumber90
classNamestring-

Notes