Animation Component
CSS animation utilities — rotation, bounce, fade, scale, spring, fly, and more.
Notes
- Use
animate-[effect-name] to apply an animation.
- Append
-[ms] to override duration dynamically, e.g. animate-fade-in-500.
- Combine with
animate-infinite for continuous loops, or animate-once (default) for single play.
- Click a single-shot demo block to replay the animation.
Multiple time formats are supported:
- 1. Integer value, e.g.
*-100 (100ms)
- 2. Bracketed integer, e.g.
*-[100] (100ms)
- 3. Bracketed time string, e.g.
*-[100ms], *-[2s]
Rotation (single)
CCW
animate-rotate-ccw-360
Rotation (infinite)
CCW
animate-circle-ccw-360
Remind
Float
Bounce
Blink
Heartbeat
Shake
Fade
Out Up
animate-fade-out-up
Down
animate-fade-in-down
Out Dn
animate-fade-out-down
Start
animate-fade-in-start
Out St
animate-fade-out-start
Out End
animate-fade-out-end
Ease (vertical scale)
Out T
animate-ease-out-top
Bot
animate-ease-in-bottom
Out B
animate-ease-out-bottom
Start
animate-ease-in-start
Out St
animate-ease-out-start
Out En
animate-ease-out-end
Spring
Scale
Fly
St In
animate-fly-in-start
St Out
animate-fly-out-start
End In
animate-fly-in-end
End Out
animate-fly-out-end
Up Out
animate-fly-out-up
Dn In
animate-fly-in-down
Dn Out
animate-fly-out-down
Rotate Fade
Dynamic duration examples
200ms
animate-fade-in-200
500ms
animate-fade-in-500
1000ms
animate-fade-in-1000
[2s]
animate-fade-in-[2s]
500ms
animate-circle-cw-360-500
2000ms
animate-circle-cw-360-2000