uimaxxer

Loaders

Thirty-five loading states on one shared clock, so a page full of them never drifts. Drag the clock and every one scrubs with it.

npx shadcn@latest add https://uimaxxer.com/r/loaders.json
PasskeysLoading states
  • ThinkingThinking
  • ReadingReading
  • SearchingSearching
  • PlanningPlanning
  • DelegatingDelegating
  • Waiting on youWaiting on you
  • ScrambleScramble
  • TypewriterTypewriter
  • ShimmerShimmer
  • AnagramAnagram
  • CounterCounter
  • BrailleBraille
  • Dot fieldDot field
  • OrbitOrbit
  • Breathing gridBreathing grid
  • HalftoneHalftone
  • ASCIIASCII
  • Flow fieldFlow field
  • FlockFlock
  • DitherDither
  • BloomBloom
  • LiquidLiquid
  • Pendulum wavePendulum wave
  • Glass beadsGlass beads
  • Paper foldPaper fold
  • InkInk
  • SquircleSquircle
  • PolygonsPolygons
  • LineLine
  • InchwormInchworm
  • SkeletonSkeleton
  • DialDial
  • MeshMesh
  • GlassGlass
  • GrainGrain
0.00s

Usage

import { Orbit, Thinking, createLoaderClock } from "@/components/ui/loaders"

<Thinking size={24} />

// Your own clock: pause it, set it, scrub it, and every loader on it follows.
const clock = createLoaderClock()
<Orbit clock={clock} size={64} />

Props

PropTypeDefaultWhat it does
sizenumber48Height in px. Text loaders use half of it as their font size.
colorstringcurrentColorInk for the neutral parts, so it follows your text colour and theme.
palettestring[]Accent colours, used in order.
speednumber11 is the designed speed. Changing it keeps the current pose.
clockLoaderClockpageClockThe clock it follows. createLoaderClock() makes one you can pause, set and scrub.
phasenumber0Seconds ahead of the clock, to stagger a list on purpose.
progressnumber0 to 1 on liquid, ticks, inchworm, counter and line. Leave it out for indeterminate.
donebooleanEases the motion to a stop and announces doneLabel.
textstring | string[]Words for the text loaders. An array cycles.
reducedMotion"user" | "always" | "never""user"user follows the OS and shows a designed still pose.

Keyboard

Left / Right
Scrub the demo clock a tenth of a second
Shift + arrows
A whole second
Home
Back to zero

Accessibility

  • Each loader is role=status with a stable label; the moving art is aria-hidden.
  • Under reduced motion each one holds a designed still pose.
  • A loader off screen stops drawing and picks the beat up again when it returns.