115 Components

Loader

Motion

A 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
/r/loader.json

All 17 Loader Variants

Geometric morphs, Bayer dither, physics simulations & CLI agent terminal glyphs

17 types
SpinnerClassic
Loading
spinner
DotsClassic
Loading
dots
BarsClassic
Loading
bars
Dot MatrixMatrix
Loading
dot-matrix
DitherMatrix
Loading
dither
MorphGeometric
LoadingLoading
morph
CometGeometric
Loading
comet
MetaballsPhysics
LoadingLoading
metaballs
HelixPhysics
Loading
helix
NewtonPhysics
Loading
newton
PercentStatus
0%Loading
percent
ScrambleTerminal
LOADINGLoading
scramble
ASCII StandardCLI Glyphs
⠋Loading
ascii
ASCII LineCLI Glyphs
|Loading
ascii-line
ASCII BrailleCLI Glyphs
⣾Loading
ascii-braille
ASCII BlocksCLI Glyphs
▁Loading
ascii-blocks
ASCII BounceCLI Glyphs
⠁Loading
ascii-bounce

Installation

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 />.

6 props
PropTypeDefaultDescription
variantLoaderVariant"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".
sizenumber32Base square size in pixels from which all geometry scales proportionally.
speednumber1Cycle duration in seconds for one full loop of the animation.
labelstring"Loading"Accessible label announced to screen readers.
labelsPartial<LoaderMessages>—Override dictionary for accessible strings and scramble target word.
classNamestring—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.