CSSKit

CSS Loader Generator | Loading Spinner & Animation Builder - CSSKit

Free CSS loader generator. Create beautiful loading spinners and animations with pure CSS. Customize colors, sizes, and speed. Copy CSS code instantly.

48px
1s
.loader-_R_q5fiv5b_ {
  width: 48px;
  height: 48px;
  border: 5px solid #e5e7eb;
  border-top: 5px solid #4f46e5;
  border-radius: 50%;
  animation: spin-_R_q5fiv5b_ 1s linear infinite;
}

@keyframes spin-_R_q5fiv5b_ {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* HTML */
<div class="loader-_R_q5fiv5b_"></div>

What is CSS Loader Generator?

CSS Loader Generator is a free online tool for creating pure CSS loading spinners and animations. Choose from multiple loader styles, customize colors, sizes, and speed, and get production-ready CSS code with @keyframes animations.

How to Use CSS Loader Generator

Choose a loader style from the presets: spinner, dots, pulse, bars, ring, or dual ring. Customize the primary color, size, and animation speed. See the loader animate in the live preview. Copy the generated HTML and CSS code including the @keyframes animation.

How CSS Loader Generator Works

The tool provides a gallery of loader presets, each built with pure CSS using @keyframes animations, border tricks, and transform properties. You select a style and customize its appearance. The tool generates the complete CSS including the @keyframes rule and the element styles.

Common Use Cases

  • Adding loading indicators to web apps
  • Creating page load spinners
  • Building button loading states
  • Designing skeleton loading animations
  • Creating data fetch loading indicators

Frequently Asked Questions

Are these loaders made with pure CSS?

Yes, all loaders are created using pure CSS with @keyframes animations. No JavaScript or images are required.

Can I customize the loader colors?

Yes, you can change the primary color of any loader using the color picker. Some loaders also support a secondary or track color.

How do I change the animation speed?

Use the speed slider to adjust the animation duration. Shorter durations create faster animations.

Can I resize the loaders?

Yes, use the size slider to make the loader larger or smaller. The generated CSS uses the size value you set.

Related Tools