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
12
0
1
100
1
Installation
$ pnpm dlx shadcn@latest add @framecn/spring-pop-in
Usage
import { SpringPopIn } from "@/components/framecn/spring-pop-in";<SpringPopIn />API Reference
SpringPopIn
| Prop | Type | Default |
|---|---|---|
children | ReactNode | - |
damping | number | 12 |
mass | number | 1 |
stiffness | number | 100 |
delayInFrames | number | 0 |
speed | number | 1 |
fps | number | 30 |
durationInFrames | number | 45 |
className | string | - |
Notes
Spring-based overshoot
The animation uses a spring function with configurable overshoot. Tune
stiffness, damping, and mass to shape how far it overshoots before
settling.