Skip to content

CSS Loader Generator: Spinners & Loading Animations

Generate pure CSS loaders: ring and dual-ring spinners, bouncing dots, bars, pulse, orbit, grid and progress bar. Pick color, size and speed, copy HTML and CSS.

Loader style

HTML

CSS

How to use the CSS Loader Generator

  1. Choose a loader style: ring, dual ring, bouncing dots, bars, pulse, orbit, progress bar or grid.
  2. Set the color, size, speed and line thickness. The preview background is only for checking contrast.
  3. Copy the HTML and the CSS. Both use the class name loader; rename it if it clashes with your styles.

Tips

  • The markup includes role="status" and an accessible label, so screen readers announce that something is loading.
  • Show a loader only when a wait is longer than about half a second; shorter waits feel faster without one.
  • For content that loads in place, a skeleton loader often feels quicker than a spinner.

Browse ready-made loader and spinner components for more designs.

Everything runs in your browser: nothing you type or paste is sent to a server.

More CSS tools