Loading Spinner Generator
← SkillSafe

Make a CSS loading spinner and copy the code

Type your colour, pick a spinner, dots, skeleton or progress bar, tune it live, and copy HTML and CSS, SVG or React.

A hex code, rgb(), hsl() or a colour name. Paste a line of CSS and the first colour in it is used.

No colour in mind? Try one:

How it works

  1. Type your colour. A hex code such as #4f46e5, rgb(), hsl(), a colour name, or a line of CSS. Eleven loaders appear in it at once.
  2. Pick and tune one. Ring, arc, dual ring, segments, orbit, bouncing dots, fading dots, bars, ripple, skeleton card or progress bar. Change the size, the speed, the stroke, the gap between parts and the easing; the preview updates as you go.
  3. Check it. The page checks the timing against the animation rules for loaders (a spinner turns once in 800 to 1200 ms, dots bounce in 500 to 800 ms and start 100 to 150 ms apart, a skeleton shimmers in 1500 to 2500 ms), the stroke, and the contrast against your background.
  4. Copy it. As HTML and CSS, CSS only, HTML only, an animated SVG file or a React component, or download a standalone .html page. Each one has a screen-reader label and a reduced-motion rule.

Questions

How fast should a loading spinner turn?
One full turn in 800 to 1200 ms, turning at a steady speed (linear) or easing in and out on each turn. Bouncing dots cycle in 500 to 800 ms with each dot starting 100 to 150 ms after the one before, pulses take 1000 to 2000 ms and a skeleton shimmer 1500 to 2500 ms.
Spinner, skeleton or progress bar?
Use a progress bar when you know how far along the work is, such as an upload. Use a skeleton when content is loading into a known layout, such as a feed or a list. Use a spinner or dots for a short wait of unknown length, such as saving a form.
Is the loader accessible?
Every loader has role="status" (or role="progressbar" for the bar) and a label screen readers announce, such as "Saving your changes". The CSS includes a prefers-reduced-motion rule that slows or stills the motion for people who ask for less motion, and the page checks the colour against the background for 3:1 contrast.
Is anything uploaded?
No. The loaders, the check and the code are made in your browser. The optional AI advice sends the loader settings and your description, only when you press its button. If you sign in, the loaders you copy or download are also kept in your SkillSafe account so you can open them on another device.
Can I use the SVG as an image?
Yes. The downloaded .svg carries its own animation, so it keeps turning in an <img> tag. The skeleton card and the progress bar are made of HTML boxes and have no single-file SVG.