Captions
Compositions
Core Primitives
Transitions
Typography
Customize
72
1
Installation
$ pnpm dlx shadcn@latest add @framecn/caption-emoji-pop
Usage
import { CaptionEmojiPop } from "@/components/framecn/caption-emoji-pop";<CaptionEmojiPop />API Reference
CaptionEmojiPop
| Prop | Type | Default |
|---|---|---|
words | CaptionWord[] | (demo words) |
color | string | "#ffffff" |
accentColor | string | "#FF76FF" |
fontSize | number | 72 |
fontWeight | number | string | 900 |
speed | number | 1 |
fps | number | 30 |
durationInFrames | number | 180 |
width | number | 1280 |
height | number | 720 |
className | string | - |
Notes
Word timing is in seconds
The start and end fields on each CaptionWord are in seconds.