UI Animations
Most-used UI/UX motion patterns — lightweight CSS classes + vanilla JS, zero heavy libraries, respects prefers-reduced-motion.
Entrances & Staggered Reveals
Click any card's replay icon to preview the keyframe again.
Modals & subtle swaps
.anim-fade-in
Cards & page sections
.anim-fade-up
Dropdowns & banners
.anim-fade-down
Tooltips & badges
.anim-pop
Hero headlines
.anim-blur-in
.anim-stagger)
110ms step via --i
Micro-interactions
Hover or click each control to feel the tactile response.
Smooth 4px elevation + soft shadow depth on hover.
Instant scale(0.96) on active press.
Loading & Live Status
Perceived-performance placeholders and real-time indicators.
.anim-progress-bar
Attention & Form Validation
Error shake, notification bell wiggle, and KPI number roll-up.
Spatial Transitions
Sliding tab indicator and CSS grid-row smooth accordion.
Transitioning grid-template-rows from 0fr to 1fr animates to auto height smoothly without hard-coding max-height values.
Yes — a prefers-reduced-motion media query disables continuous motion and shortens transitions automatically.
Infinite Marquee & Scroll Reveal
Hover the marquee strip to pause; this card itself reveals on scroll via [data-reveal].
Animated Gradient Borders
Pure CSS @property --rotate rim spin and flowing multi-hue .anim-border-flow — zero JS, respects reduced motion.
Crisp Rotating Rim
Clean 2px rotating primary border using padding-box / border-box — zero glow, fits light & dark cards.
Ambient Halo
Subtle blurred under-glow for featured Pro or AI highlight cards. Hover to pause the rotation and calm the halo.
Flowing Spectrum
Smooth 8-stop diagonal gradient shifting seamlessly across a 2px crisp border via background-position.
Works on any radius — cards, callout banners, badges, or pill CTAs.
<!-- Crisp rotating primary border -->
<div class="anim-border-spin rounded-2xl p-6">…</div>
<!-- Rotating border with soft ambient glow (pauses on hover) -->
<div class="anim-border-spin anim-border-spin-glow anim-border-spin-pause rounded-2xl p-6">…</div>
<!-- Flowing multi-hue spectrum border -->
<div class="anim-border-flow rounded-2xl p-6">…</div>