⚡ AtomLoader
Lightweight, customizable CSS-animated dot-matrix loading indicators for React and Next.js.
500+ handcrafted, visually distinct geometric loading animations built with pure CSS grid and keyframes — zero heavy dependencies, SSR-safe, fully accessible, and styled with modern design tokens.
✨ Features
- 500+ Genuinely Unique Loaders: Handcrafted patterns across 50 geometric families (Dot, Grid, Square, Circle, Ring, Hex, Triangle, Diamond, Star, Cross, Wave, Orbit, Spiral, Ripple, Burst, Matrix, DNA, Vortex, and Abstract).
- Pure CSS Animations: Powered exclusively by CSS Grid and keyframe transforms. No GSAP, no Framer Motion, no Canvas, no WebGL.
- shadcn CLI Native: Install any loader directly into your project as zero-dependency React components using the official
shadcnCLI. - Ultra Scalable: Scales smoothly from
16px,20px,24pxmicro-indicators up to64px+hero loaders. - Multi-Stop Gradients & Bloom: Built-in linear and multi-stop gradient color interpolation with optional ambient bloom glow.
- Accessible & SSR Safe: Includes
@media (prefers-reduced-motion: reduce)motion dampening and full hydration safety. - TypeScript First: Strict types for pattern names, gradient configurations, and component props.
📦 Quick Installation
Option 1: Add via shadcn CLI (Recommended)
AtomLoader distributes components as direct shadcn UI registry items.
1. Configure the @atomloader registry namespace (once):
2. Install any specific loader:
🚀 Usage
1. Standalone Loader Component
2. Multi-Stop Gradient Customization
3. Universal AtomLoader Component
⚙️ Component API
All loaders accept the following props:
GradientConfig
🧬 Motion Engine Architecture
AtomLoader operates on 19 discrete CSS animation keyframe models mapped dynamically to matrix nodes:
dot-orbit: Smooth planetary rotational flow.dot-wave: Sinusoidal amplitude wavefronts.dot-breathe: Harmonic expansion and luminescence cycles.dot-pop: Sharp staccato impulses.dot-flicker: Randomized celestial micro-sparkles.dot-leapfrog: Synchronized alternating node hops.dot-collapse: Inward gravitational singularity compression.dot-burst: Outward radial explosive shockwaves.dot-iris: Camera aperture dilation and contraction.dot-snake: Continuous serpentine corridor traversal.dot-counterflow: Opposing phase counter-rotational shear.dot-radar: 360-degree sweeping sonar sectors.dot-magnet: Elastic focal attraction and recoil.dot-dna: Intertwined helical phase oscillation.dot-vortex: Accelerating angular vortex sink.dot-stair: Quantized discrete step descents.dot-checker: Antiphase binary square wave swap.dot-glitch: High-frequency digital phase jitter.dot-scan: Linear raster laser scanlines.
🛠 Local Development
📄 License
MIT ©