Transition & Animation Utilities
Control transitions, animations, and transforms.
Transition Duration
Control how long transitions take.
Available classes:
sb-duration-75
: 75mssb-duration-100
: 100mssb-duration-150
: 150mssb-duration-200
: 200mssb-duration-300
: 300mssb-duration-500
: 500ms
Timing Functions
Control the speed curve of transitions.
Available classes:
sb-ease-linear
: Linearsb-ease-in
: Ease insb-ease-out
: Ease outsb-ease-in-out
: Ease in and outsb-ease-bounce
: Bounce effect
Transition Delay
Add a delay before transitions start.
Available classes:
sb-delay-75
: 75ms delaysb-delay-100
: 100ms delaysb-delay-150
: 150ms delaysb-delay-300
: 300ms delaysb-delay-500
: 500ms delay
Basic Animations
Pre-built animation patterns.
Available classes:
sb-animate-fade
: Fade in/outsb-animate-slide-up
: Slide upsb-animate-slide-down
: Slide downsb-animate-slide-left
: Slide leftsb-animate-slide-right
: Slide rightsb-animate-bounce
: Bouncesb-animate-spin
: Spinsb-animate-ping
: Ping effectsb-animate-pulse
: Pulse effect
Transform
Apply transformations to elements.
Available classes:
sb-scale-{amount}
: Scalesb-rotate-{degrees}
: Rotatesb-translate-x-{amount}
: Move horizontallysb-translate-y-{amount}
: Move verticallysb-skew-x-{amount}
: Skew horizontallysb-skew-y-{amount}
: Skew vertically
Common Pattern: Hover Animation
<button class="sb-duration-300 sb-ease-out hover:sb-scale-105 hover:sb-translate-y-1 sb-animate-fade">
Animated Button
</button>
Continue to Interactivity Utilities