CSS Custom Properties
Parameterized with clean CSS variables so you can easily scale size, change colors, or alter speed dynamically on the fly.
Design polished, lightweight loading indicators with real-time preview across light and dark surfaces. Customize archetype styles, size, animation speed, and colors, then copy accessible HTML and production CSS without any image assets or JavaScript dependencies.
Interactive real-time preview of size, speed, and colors
Clean CSS custom properties with an accessible screen-reader status label and reduced-motion timing.
.spinner {
--spinner-size: 48px;
--spinner-thickness: 5px;
--spinner-speed: 0.8s;
--spinner-color: #14b8a6;
--spinner-secondary: #0f1d3a;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.spinner--ring {
width: var(--spinner-size);
aspect-ratio: 1;
border: var(--spinner-thickness) solid color-mix(in srgb, var(--spinner-color) 20%, transparent);
border-top-color: var(--spinner-color);
border-radius: 50%;
animation: spinner-rotate var(--spinner-speed) linear infinite;
}
@keyframes spinner-rotate {
to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
.spinner,
.spinner > span {
animation-duration: 2.5s;
}
}Choose from classic rings, dual opposing arcs, bouncing dots, soundwave bars, orbiting satellites, or expanding pulse ripples.
Adjust diameter, border thickness, rotation duration, and branding colors. Preview against light and dark background cards.
Copy semantic HTML with role="status" and CSS custom properties ready to drop directly into React, Vue, Svelte, or plain HTML projects.
Parameterized with clean CSS variables so you can easily scale size, change colors, or alter speed dynamically on the fly.
Pure CSS animations running smoothly on the GPU without JavaScript runtime timers, external icon packs, or GIF/SVG files.
Includes role="status" and visually-hidden text labels so users navigating with assistive technology know work is taking place.
Pure CSS spinners leverage CSS animations (@keyframes) and properties like transform: rotate(), scale(), and border-radius. Once rendered in the DOM, they loop infinitely via animation: ... infinite without requiring JavaScript timers or external assets.
Visual animation indicators are decorative to users with vision loss or screen-reading software. Adding role="status" and a visually hidden .sr-only label ensures assistive technology announces that background work or page loading is in progress.
Because users with vestibular conditions or motion sensitivity may feel disoriented by rapid spinning, the generated CSS includes an accessible @media (prefers-reduced-motion: reduce) rule that slows down rotational speeds while preserving the loading status.
Single and dual rings or compact dots (20px–28px) work best inside form submit buttons and search inputs. Larger rings, equalizer bars, and expanding pulse ripples (48px–96px) provide clear feedback for initial page loads or asynchronous data tables.
Yes. The generated code encapsulates geometry into CSS variables (--spinner-size, --spinner-thickness, --spinner-speed, --spinner-color). You can override these variables dynamically in your own theme or parent containers with zero code duplication.
Design custom cubic-bezier easing curves visually with control handles and live race comparison.
Design multi-step keyframe animations with visual timeline stops and transforms.
Generate sequential entrance and stagger animations with variable delay curves.