115 Components
Loader
MotionA collection of 17 expressive loading animations built with Framer Motion and Tailwind CSS, featuring classic spinners, dot matrixes, Bayer dithering, CLI agent ASCII sets, fluid shape morphing, gooey metaballs, and kinetic physics.
NewMotionLoadersASCIIDitherMorphA11y Ready
All 17 Loader Variants
Geometric morphs, Bayer dither, physics simulations & CLI agent terminal glyphs
SpinnerClassic
Loading
spinnerDotsClassic
Loading
dotsBarsClassic
Loading
barsDot MatrixMatrix
Loading
dot-matrixDitherMatrix
Loading
ditherMorphGeometric
Loading
morphCometGeometric
Loading
cometMetaballsPhysics
Loading
metaballsHelixPhysics
Loading
helixNewtonPhysics
Loading
newtonPercentStatus
0%Loading
percentScrambleTerminal
LOADINGLoading
scrambleASCII StandardCLI Glyphs
⠋Loading
asciiASCII LineCLI Glyphs
|Loading
ascii-lineASCII BrailleCLI Glyphs
⣾Loading
ascii-brailleASCII BlocksCLI Glyphs
▁Loading
ascii-blocksASCII BounceCLI Glyphs
⠁Loading
ascii-bounceInstallation
Install directly into your project using the shadcn CLI or copy the source code manually.
Requires:framer-motionclsxtailwind-merge
$npx shadcn@latest add "https://boseui.site/r/loader.json"
Props
TypeScript props supported by <Loader />.
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | LoaderVariant | "spinner" | Which animation to render: "spinner" | "dots" | "bars" | "dot-matrix" | "dither" | "ascii" | "ascii-line" | "ascii-braille" | "ascii-blocks" | "ascii-bounce" | "morph" | "comet" | "scramble" | "metaballs" | "newton" | "helix" | "percent". |
| size | number | 32 | Base square size in pixels from which all geometry scales proportionally. |
| speed | number | 1 | Cycle duration in seconds for one full loop of the animation. |
| label | string | "Loading" | Accessible label announced to screen readers. |
| labels | Partial<LoaderMessages> | — | Override dictionary for accessible strings and scramble target word. |
| className | string | — | Custom classes applied to the root status element. |
Key Features
- 17 distinct variants: spinner, dots, bars, dot-matrix, dither, ascii, ascii-line, ascii-braille, ascii-blocks, ascii-bounce, morph, comet, scramble, metaballs, newton, helix, and percent.
- Bayer 4x4 ordered dither matrix threshold animation that shimmers like a dissolving halftone.
- Point-to-point 24-sample SVG path morphing between circle, square, triangle, hexagon, and diamond.
- 5 terminal-style ASCII/Braille glyph sets popular in CLI AI agents and developer tools.
- Fluid SVG filter-based metaballs with gooey merge effect.
- Newton's cradle impulse simulation with precise keyframe impact timing.
- Full WAI-ARIA role='status' compliance with screen reader announcements.
- Graceful prefers-reduced-motion fallbacks for all 17 animation variants.
Keyboard & Accessibility
- Uses role='status' with an aria-label and visually hidden fallback text for assistive tech.
- Respects prefers-reduced-motion by substituting intense transforms with calm opacity pulses or slowed glyph switches.
- SVG paths and graphics include accessible <title> elements.