Compositions
Core Primitives
Transitions
Typography
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.