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.
60
Sponsor

Weight Shift

Font weight animates from 100 to 900 when each word is spoken, back to thin after.

Customize
72
1

Installation

$ pnpm dlx shadcn@latest add @framecn/caption-weight-shift

Usage

import { CaptionWeightShift } from "@/components/framecn/caption-weight-shift";
<CaptionWeightShift />

API Reference

CaptionWeightShift

PropTypeDefault
wordsCaptionWord[](demo words)
colorstring"#ffffff"
activeColorstring"#ffffff"
dimColorstring"rgba(255,255,255,0.35)"
fontSizenumber72
speednumber1
fpsnumber30
durationInFramesnumber180
widthnumber1280
heightnumber720
classNamestring-

Notes