# Spinner

> A loading status sized on its text: a breathing ring, twelve bars, three dots or a terminal braille cell. Add .is-done and a tick draws itself while the words roll.

Feedback & loading · spinner, loading, status, button · HTML and CSS only · no dependencies · updated 2026-10-16
Demo: https://kodza.dev/components/loading-spinner/

## Files

The code below, served as files: byte for byte what the Kodza site copies (the CSS includes its theme guard).

- [`kodza-loading-spinner.css`](https://kodza.dev/registry/loading-spinner/kodza-loading-spinner.css) · 10.0 KB
- [`kodza-loading-spinner.html`](https://kodza.dev/registry/loading-spinner/kodza-loading-spinner.html) · 2.7 KB · the markup, to adapt and paste into your page

**Can you run shell commands? Download the CSS, don't retype it.** Retyping costs thousands of tokens and can drop or change lines of the CSS. Put the files where your stack expects them (Use it says where: change the `-o` paths):

```bash
curl -fsSL --create-dirs -o kodza/kodza-loading-spinner.css https://kodza.dev/registry/loading-spinner/kodza-loading-spinner.css
```

Then load the file from your page as Use it shows, instead of pasting the content. The HTML is the part you adapt (text, links, modifiers): paste it from the Code section. Copy the CSS from the Code section only if you can't run commands, exactly as it is. (Windows PowerShell: `curl.exe`.)

## API

- Root: `.kodza-spinner`
- Variables (set them on the root element itself: it declares its own defaults):
  - `--kz-spinner-size: 1.15em`
  - `--kz-spinner-stroke: 2.2`
  - `--kz-spinner-track: 0.16`
  - `--kz-spinner-tempo: 1`
  - `--kz-spinner-gap: 0.6em`
  - `--kz-spinner-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace`
  - `--kz-spinner-ease: cubic-bezier(0.22, 1, 0.36, 1)`
- Modifiers: `.kodza-spinner--terminal`

## Dark mode

Nothing to set: it takes its colours from the text around it, or looks the same on a light and a dark page.

## Use it

### Plain HTML page

- CSS: `kodza/kodza-loading-spinner.css` next to the page (the Files commands as they are), linked in `<head>`: `<link rel="stylesheet" href="kodza/kodza-loading-spinner.css">`. Without a shell, paste it in a `<style>` in `<head>` instead. It only touches `kodza-` classes.
- HTML: where the component goes. Paste it as many times as you need: instances never interfere.
- No JS.
- Restyle with the `--kz-…` variables, set on the component's root element itself (the root declares its own defaults, so a value on an ancestor is ignored), and with the modifiers / attributes listed under API.
- Font: it takes the page's own. The Kodza look is Geist: `<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap">`.

### Claude artifact (claude.ai)

- Paste the CSS in a `<style>`, in the artifact itself: it loads stylesheets only from Google Fonts and scripts only from a few CDNs, so no `<link>` or `<script src>` to Kodza.
- Writing the artifact file with a shell? Insert the downloaded files (Files) with a command instead of retyping them: a line `KODZA-CSS` alone inside the `<style>`, then `sed -e '/^KODZA-CSS$/{r kodza/kodza-loading-spinner.css' -e 'd' -e '}' page.html > artifact.html`.
- Font: load Geist from Google Fonts (allowed): `<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap">`.
- Dark mode: the viewer sets `data-theme="dark"` or `"light"` on `<html>`, or nothing when it follows the system. Write the Dark mode rules twice: inside `@media (prefers-color-scheme: dark)` with `:root:not([data-theme="light"])` in front of each selector, and with `:root[data-theme="dark"]` in front of each selector.

### WordPress

- HTML: a **Custom HTML** block (or a pattern / template part). WordPress keeps this markup as it is only for users allowed to post unfiltered HTML (Administrators; Super Admins on multisite): for anyone else it strips tags such as `<svg>`, `<input>` or `<dialog>`, so add it from the theme (a pattern or template part) instead.
- This one is inline (it flows like a word): pasted alone, many themes leave it at the edge of the page (block themes, and classic ones like Twenty Twenty-One or Blocksy), so put the Custom HTML block inside a **Group** block to line it up with the text.
- CSS: the downloaded file goes in the theme, under `wp-content/themes/<your-theme>/kodza/` (the child theme if there is one), enqueued from its functions.php (or a code-snippets plugin):
  ```php
  add_action('wp_enqueue_scripts', function () {
    $dir = get_stylesheet_directory() . '/kodza/';
    $uri = get_stylesheet_directory_uri() . '/kodza/';
    wp_enqueue_style('kodza-loading-spinner', $uri . 'kodza-loading-spinner.css', [], filemtime($dir . 'kodza-loading-spinner.css'));
  });
  ```
  Scoped to `kodza-` classes, the CSS never touches the theme.
- No access to the theme files? The CSS can also go, as it is, in **Appearance → Customize → Additional CSS** (classic theme) or **Styles → Additional CSS** in the Site Editor (block theme).
- No JS.
- Colours: it takes the colour of the text around it (or keeps its own monochrome): nothing to point at the theme.
- WordPress turns straight quotes and `--` into typographic ones in the text of a Custom HTML block (not inside `<code>` or `<pre>`).

#### With Elementor

- HTML: an **HTML** widget (Elementor shows it to administrators only). It keeps the code exactly as pasted, straight quotes included.
- CSS: as above. Elementor's Site Settings → Theme Style styles every button, field, link and image of the page, components included; the theme guard at the end of the CSS keeps the component's buttons, fields and link colours as they are.
- No child theme: the CSS can go in the HTML widget instead, in a `<style>` before the HTML.

### Shopify

- Files: `assets/kodza-loading-spinner.css` (the Files commands with `-o assets/…`).
- In the section: `{{ 'kodza-loading-spinner.css' | asset_url | stylesheet_tag }}`, then the HTML.

### React / Next.js

- Files, side by side (e.g. in `components/kodza/`): `Spinner.tsx` (below), the CSS block under Code saved as `loading-spinner.css`, both as they are. The HTML block is already inside the component: skip it.
- Use it: `import { Spinner } from '@/components/kodza/Spinner';` then `<Spinner />`. Props: `variant` ("terminal", or several in an array), `vars` (the `--kz-…` variables listed under API, e.g. `vars={{ '--kz-spinner-size': … }}`), `className`, `style` and the other props of its `<span>` (`onClick`, `aria-…`).
- Next.js App Router: it is a Client Component already (`'use client'`). Pages Router: Next.js takes global CSS only in `pages/_app`, so move the `import './loading-spinner.css'` line there.

```tsx
'use client';
// Kodza — Spinner, for React. From https://kodza.dev/components/loading-spinner/
// Kodza License: free to use, client work included. Not to resell or redistribute, ported or not: https://kodza.dev/docs/#print-license
// Next to this file: loading-spinner.css, the component's CSS from Kodza, as they are.
// Yours to edit: the markup is plain JSX below.
import { useRef, type ComponentPropsWithoutRef, type ComponentRef, type CSSProperties } from 'react';
import './loading-spinner.css';

type Variant = "terminal";

export type SpinnerProps = Omit<ComponentPropsWithoutRef<'span'>, "children" | "variant" | "vars"> & {
  /** Modifier class(es): .kodza-spinner--terminal */
  variant?: Variant | Variant[];
  /** Settings, as CSS variables on the root */
  vars?: {
    /** default: 1.15em */
    "--kz-spinner-size"?: string | number;
    /** default: 2.2 */
    "--kz-spinner-stroke"?: string | number;
    /** default: 0.16 */
    "--kz-spinner-track"?: string | number;
    /** default: 1 */
    "--kz-spinner-tempo"?: string | number;
    /** default: 0.6em */
    "--kz-spinner-gap"?: string | number;
    /** default: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace */
    "--kz-spinner-mono"?: string | number;
    /** default: cubic-bezier(0.22, 1, 0.36, 1) */
    "--kz-spinner-ease"?: string | number;
  };
  className?: string;
};

export function Spinner({ variant, vars, className, style, ...rest }: SpinnerProps) {
  const ref = useRef<ComponentRef<'span'>>(null);
  const classes = ["kodza-spinner", ...([] as string[]).concat(variant ?? []).map((v) => `kodza-spinner--${v}`), className].filter(Boolean).join(' ');
  // Everything the markup is made of: when it changes, React gets a fresh element (see the top)
  const key = JSON.stringify([classes, vars, style, rest]);

  return (
    <span role="status" key={key} {...rest} className={classes} style={{ ...vars, ...style } as CSSProperties} ref={ref}>
      <span className="kodza-spinner__icon" aria-hidden="true">
        <svg className="kodza-spinner__ring" viewBox="0 0 24 24">
          <circle cx="12" cy="12" r="9" />
          <circle cx="12" cy="12" r="9" pathLength="100" />
        </svg>
        {' '}
        <svg className="kodza-spinner__done" viewBox="0 0 24 24">
          <circle cx="12" cy="12" r="9" pathLength="1" />
          <path d="M8.2 12.3l2.6 2.6 5-5.4" pathLength="1" />
        </svg>
      </span>
      {' '}
      <span className="kodza-spinner__text">
        <span>Deploying</span>
        <span>Shipped</span>
      </span>
    </span>
  );
}
```

## Code

```html
<span class="kodza-spinner" role="status">
  <span class="kodza-spinner__icon" aria-hidden="true">
    <svg class="kodza-spinner__ring" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" /><circle cx="12" cy="12" r="9" pathLength="100" /></svg>
    <svg class="kodza-spinner__done" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" pathLength="1" /><path d="M8.2 12.3l2.6 2.6 5-5.4" pathLength="1" /></svg>
  </span>
  <span class="kodza-spinner__text"><span>Deploying</span><span>Shipped</span></span>
</span>

<span class="kodza-spinner" role="status">
  <span class="kodza-spinner__icon" aria-hidden="true">
    <svg class="kodza-spinner__bars" viewBox="0 0 24 24">
      <line x1="12" y1="2.5" x2="12" y2="6.5" /><line x1="12" y1="2.5" x2="12" y2="6.5" transform="rotate(30 12 12)" /><line x1="12" y1="2.5" x2="12" y2="6.5" transform="rotate(60 12 12)" /><line x1="12" y1="2.5" x2="12" y2="6.5" transform="rotate(90 12 12)" /><line x1="12" y1="2.5" x2="12" y2="6.5" transform="rotate(120 12 12)" /><line x1="12" y1="2.5" x2="12" y2="6.5" transform="rotate(150 12 12)" /><line x1="12" y1="2.5" x2="12" y2="6.5" transform="rotate(180 12 12)" /><line x1="12" y1="2.5" x2="12" y2="6.5" transform="rotate(210 12 12)" /><line x1="12" y1="2.5" x2="12" y2="6.5" transform="rotate(240 12 12)" /><line x1="12" y1="2.5" x2="12" y2="6.5" transform="rotate(270 12 12)" /><line x1="12" y1="2.5" x2="12" y2="6.5" transform="rotate(300 12 12)" /><line x1="12" y1="2.5" x2="12" y2="6.5" transform="rotate(330 12 12)" />
    </svg>
    <svg class="kodza-spinner__done" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" pathLength="1" /><path d="M8.2 12.3l2.6 2.6 5-5.4" pathLength="1" /></svg>
  </span>
  <span class="kodza-spinner__text"><span>Reticulating splines</span><span>Splines reticulated</span></span>
</span>

<span class="kodza-spinner" role="status">
  <span class="kodza-spinner__icon" aria-hidden="true">
    <span class="kodza-spinner__dots"><span></span><span></span><span></span></span>
    <svg class="kodza-spinner__done" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" pathLength="1" /><path d="M8.2 12.3l2.6 2.6 5-5.4" pathLength="1" /></svg>
  </span>
  <span class="kodza-spinner__text"><span>Waking the server</span><span>It's awake</span></span>
</span>

<span class="kodza-spinner kodza-spinner--terminal" role="status">
  <span class="kodza-spinner__icon" aria-hidden="true">
    <span class="kodza-spinner__braille"><span></span><span></span><span></span><span></span><span></span><span></span></span>
    <svg class="kodza-spinner__done" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" pathLength="1" /><path d="M8.2 12.3l2.6 2.6 5-5.4" pathLength="1" /></svg>
  </span>
  <span class="kodza-spinner__text"><span>npm install</span><span>added 1204 packages</span></span>
</span>
```

```css
/* Kodza License: free to use, client work included. Not to resell or redistribute, ported or not: https://kodza.dev/docs/#print-license */
/* Kodza — Spinner
   A loading status sized on its text (1em) and drawn in currentColor, so it sits in a button, a
   line or a toast as it is. Four drawings: a ring whose arc breathes as it turns, twelve bars
   (steps, like an OS), three dots, and a terminal braille cell. Add .is-done and the drawing
   gives way to a tick that draws itself, while the words roll to the second line; the width
   never moves (both lines share one cell). The text is optional; keep the status readable with
   a short one. Everything is tuned with the --kz-spinner-* variables. */
.kodza-spinner {
  --kz-spinner-size: 1.15em;
  --kz-spinner-stroke: 2.2;
  --kz-spinner-track: 0.16;
  --kz-spinner-tempo: 1;
  --kz-spinner-gap: 0.6em;
  --kz-spinner-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --kz-spinner-ease: cubic-bezier(0.22, 1, 0.36, 1);

  display: inline-flex;
  align-items: center;
  gap: var(--kz-spinner-gap);
  vertical-align: middle;
  line-height: 1.25;
}

.kodza-spinner--terminal {
  font-family: var(--kz-spinner-mono);
  font-size: 0.92em;
  letter-spacing: -0.01em;
}

/* The drawing and the tick share one box */
.kodza-spinner__icon {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: var(--kz-spinner-size);
  height: var(--kz-spinner-size);
}

.kodza-spinner__icon > * {
  grid-area: 1 / 1;
  transition: opacity 0.25s ease, transform 0.45s var(--kz-spinner-ease);
}

.kodza-spinner__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: var(--kz-spinner-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Ring: a track, and an arc that stretches and shrinks while it turns */
.kodza-spinner__ring {
  animation: kodza-spinner-turn calc(1.6s * var(--kz-spinner-tempo)) linear infinite;
}

.kodza-spinner__ring circle:first-child {
  opacity: var(--kz-spinner-track);
}

.kodza-spinner__ring circle:last-child {
  stroke-dasharray: 1 100;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  animation: kodza-spinner-arc calc(1.6s * var(--kz-spinner-tempo)) cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes kodza-spinner-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes kodza-spinner-arc {
  0% {
    stroke-dasharray: 1 100;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 58 100;
    stroke-dashoffset: -14;
  }
  100% {
    stroke-dasharray: 1 100;
    stroke-dashoffset: -99;
  }
}

/* Bars: twelve spokes fading behind the brightest one, turned a notch at a time */
.kodza-spinner__bars {
  animation: kodza-spinner-turn calc(1s * var(--kz-spinner-tempo)) steps(12) infinite;
}

.kodza-spinner__bars line { opacity: 0.16; }
.kodza-spinner__bars line:nth-child(1) { opacity: 1; }
.kodza-spinner__bars line:nth-child(12) { opacity: 0.86; }
.kodza-spinner__bars line:nth-child(11) { opacity: 0.72; }
.kodza-spinner__bars line:nth-child(10) { opacity: 0.6; }
.kodza-spinner__bars line:nth-child(9) { opacity: 0.48; }
.kodza-spinner__bars line:nth-child(8) { opacity: 0.38; }
.kodza-spinner__bars line:nth-child(7) { opacity: 0.3; }
.kodza-spinner__bars line:nth-child(6) { opacity: 0.24; }
.kodza-spinner__bars line:nth-child(5) { opacity: 0.2; }

/* Dots: a small wave */
.kodza-spinner__dots {
  display: flex;
  align-items: center;
  gap: 0.13em;
}

.kodza-spinner__dots > span {
  width: 0.22em;
  height: 0.22em;
  border-radius: 50%;
  background: currentColor;
  animation: kodza-spinner-dot calc(1.1s * var(--kz-spinner-tempo)) cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.kodza-spinner__dots > span:nth-child(2) { animation-delay: calc(0.14s * var(--kz-spinner-tempo)); }
.kodza-spinner__dots > span:nth-child(3) { animation-delay: calc(0.28s * var(--kz-spinner-tempo)); }

@keyframes kodza-spinner-dot {
  0%,
  60%,
  100% {
    opacity: 0.32;
    transform: none;
  }
  28% {
    opacity: 1;
    transform: translateY(-0.26em);
  }
}

/* Braille: a 2 × 3 cell where three lit dots chase each other around, like a CLI spinner */
.kodza-spinner__braille {
  display: grid;
  grid-template-columns: repeat(2, 0.17em);
  grid-template-rows: repeat(3, 0.17em);
  gap: 0.11em 0.15em;
}

.kodza-spinner__braille > span {
  border-radius: 50%;
  background: currentColor;
  animation: kodza-spinner-braille calc(0.9s * var(--kz-spinner-tempo)) step-end infinite;
}

/* Around the cell: top left, top right, middle right, bottom right, bottom left, middle left */
.kodza-spinner__braille > span:nth-child(1) { grid-area: 1 / 1; animation-delay: calc(-0.9s * var(--kz-spinner-tempo)); }
.kodza-spinner__braille > span:nth-child(2) { grid-area: 1 / 2; animation-delay: calc(-0.75s * var(--kz-spinner-tempo)); }
.kodza-spinner__braille > span:nth-child(3) { grid-area: 2 / 2; animation-delay: calc(-0.6s * var(--kz-spinner-tempo)); }
.kodza-spinner__braille > span:nth-child(4) { grid-area: 3 / 2; animation-delay: calc(-0.45s * var(--kz-spinner-tempo)); }
.kodza-spinner__braille > span:nth-child(5) { grid-area: 3 / 1; animation-delay: calc(-0.3s * var(--kz-spinner-tempo)); }
.kodza-spinner__braille > span:nth-child(6) { grid-area: 2 / 1; animation-delay: calc(-0.15s * var(--kz-spinner-tempo)); }

@keyframes kodza-spinner-braille {
  0% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.18;
  }
}

/* Done: the drawing steps back, the circle closes and the tick draws itself */
.kodza-spinner__done {
  opacity: 0;
}

.kodza-spinner__done circle,
.kodza-spinner__done path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.2s ease;
}

.kodza-spinner__done circle {
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.kodza-spinner.is-done .kodza-spinner__icon > :not(.kodza-spinner__done) {
  opacity: 0;
  transform: scale(0.55);
}

.kodza-spinner.is-done .kodza-spinner__icon > :not(.kodza-spinner__done),
.kodza-spinner.is-done .kodza-spinner__icon > :not(.kodza-spinner__done) * {
  animation-play-state: paused;
}

.kodza-spinner.is-done .kodza-spinner__done {
  opacity: 1;
}

.kodza-spinner.is-done .kodza-spinner__done circle {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.kodza-spinner.is-done .kodza-spinner__done path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.35s var(--kz-spinner-ease) 0.4s;
}

/* The words: both lines in one cell (the width of the longer), the first rolls up and out */
.kodza-spinner__text {
  display: inline-grid;
  overflow: hidden;
  padding-block: 0.12em;
  margin-block: -0.12em;
}

.kodza-spinner__text > span {
  grid-area: 1 / 1;
  white-space: nowrap;
  transition: transform 0.5s var(--kz-spinner-ease), opacity 0.3s ease, visibility 0s;
}

.kodza-spinner__text > span:first-child {
  opacity: 0.64;
}

.kodza-spinner__text > span:nth-child(2) {
  visibility: hidden;
  opacity: 0;
  transform: translateY(105%);
  transition: transform 0.5s var(--kz-spinner-ease), opacity 0.3s ease, visibility 0s linear 0.5s;
}

.kodza-spinner.is-done .kodza-spinner__text > span:first-child {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-105%);
  transition: transform 0.5s var(--kz-spinner-ease), opacity 0.3s ease, visibility 0s linear 0.5s;
}

.kodza-spinner.is-done .kodza-spinner__text > span:nth-child(2) {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: transform 0.5s var(--kz-spinner-ease) 0.12s, opacity 0.3s ease 0.12s, visibility 0s;
}

/* Reduced motion: still drawings (a ring with its arc, bars in their fade), and no tweens */
@media (prefers-reduced-motion: reduce) {
  .kodza-spinner__icon *,
  .kodza-spinner__icon > * {
    animation: none !important;
  }

  .kodza-spinner__ring circle:last-child {
    stroke-dasharray: 30 100;
  }

  .kodza-spinner__icon > *,
  .kodza-spinner__done circle,
  .kodza-spinner__done path,
  .kodza-spinner__text > span {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* kodza-guard 6c133b90c4aa — generated by Kodza, do not edit.
   Theme guard: keeps a site's own CSS (WordPress themes, Bootstrap, CSS resets…) off this
   component. :not(#_) is always true and weighs as much as an id, so these lines win over
   theme rules made of classes and tags. Customise the component through its --kz-* variables. */

/* What the browser gives, on everything the component leaves to it */

.kodza-spinner:not(#_),
.kodza-spinner__icon:not(#_),
.kodza-spinner__text:not(#_),
.kodza-spinner__dots:not(#_),
.kodza-spinner__braille:not(#_),
.kodza-spinner__text span:where(:not([class*="kodza-"])):not(#_),
.kodza-spinner__dots span:where(:not([class*="kodza-"])):not(#_),
.kodza-spinner__braille span:where(:not([class*="kodza-"])):not(#_) {
  box-sizing: revert;
}

.kodza-spinner__ring:not(#_),
.kodza-spinner__done:not(#_),
.kodza-spinner__bars:not(#_) {
  border: revert;
  margin: revert;
  padding: revert;
  border-radius: revert;
  outline: revert;
  text-decoration: revert;
  list-style: revert;
  box-sizing: revert;
  float: revert;
  position: revert;
  background-color: revert;
  background-image: revert;
  box-shadow: revert;
  outline-offset: revert;
  appearance: revert;
  max-width: revert;
  max-height: revert;
  color: revert;
  font-family: revert;
  font-size: revert;
  font-weight: revert;
  font-style: revert;
  line-height: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
}

/* The component's own rules, one step stronger: real buttons and fields, what it sets on tags themes style (links, lists, headings, images…), and the root width (a theme may narrow it, never widen it) */

.kodza-spinner__icon > *:where(svg):not(#_) {
  transition: opacity 0.25s ease, transform 0.45s var(--kz-spinner-ease);
}

.kodza-spinner__icon svg:not(#_) {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .kodza-spinner__icon > *:where(svg):not(#_) {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
```

Free to use, from Kodza (https://kodza.dev).
