Captions
Compositions
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
Customize
72
600
1
Installation
$ pnpm dlx shadcn@latest add @framecn/shared-axis-y
Usage
import { SharedAxisY } from "@/components/framecn/shared-axis-y";<SharedAxisY fromText="Hello world" toText="New world" />API Reference
SharedAxisY
| Prop | Type | Default |
|---|---|---|
fromText | string | "Hello world" |
toText | string | "New world" |
fontSize | number | 72 |
color | string | "#171717" |
fontWeight | number | 600 |
speed | number | 1 |
fps | number | 30 |
durationInFrames | number | 90 |
className | string | - |
Notes
Stepped easing for a digital snap
Uses steps(1) easing so each word snaps on/off rather than fading. This
creates a sharp, frame-accurate digital feel well suited to fast-cut edits and
lower-thirds.