Captions
Compositions
- Hero Device Assemble
- Ecosystem Constellation
- Infinite Bento Pan
- Product Launch Trailer
- Browser Flow
- AI Generation Canvas
- AI Generate Overlay
- Live Code Compilation
- Terminal To Browser Deploy
- Image Expand To Fullscreen
- Format Morph
- Node Reveal
- Dashboard Populate
- Pipeline Journey
- Pricing Tier Focus
- Landing Code Showcase
Core Primitives
Transitions
Typography
- Blur Reveal
- Staggered Fade Up
- Masked Slide Reveal
- Tracking In
- Inline Highlight
- Marker Highlight
- Shimmer Sweep
- Typewriter
- Text Fade Replace
- Slot Machine Roll
- Infinite Marquee
- Perspective Marquee
- Matrix Decode
- RGB Glitch Text
- Strikethrough Replace
- Blur Out Up
- Bottom Up Letters
- Top Down Letters
- Per Character Rise
- Soft Blur In
- Micro Scale Fade
- Scale Down Fade
- Focus Blur Resolve
- Spring Scale In
- Line by Line Slide
- Mask Reveal Up
- Short Slide Right
Installation
$ pnpm dlx shadcn@latest add @framecn/caption-neon-glow
Usage
import { CaptionNeonGlow } from "@/components/framecn/caption-neon-glow";<CaptionNeonGlow />API Reference
CaptionNeonGlow
| Prop | Type | Default |
|---|---|---|
words | CaptionWord[] | (demo words) |
glowColor | string | "#00fff0" |
fontSize | number | 80 |
fontWeight | number | string | 900 |
wordsPerGroup | number | 6 |
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.