LoadersProNew

Exploding Cube Loader

A glowing cube turns, its faces burst outward and snap back together. A 3D loader in pure CSS.

Customize

faceColor
edgeColor

Based on odd-insect-77 by JkHuger (MIT license) · Terms of use

Props

7 properties
PropertyTypeDefaultDescription
sizenumber80Cube edge in pixels.
faceColorstring"rgba(255, 255, 255, 0.06)"Face fill. Keep it translucent to see the inner edges.
edgeColorstring"#fafafa"Color of the edges and their glow.
speednumber3Seconds for the turn, burst and snap back.
glowbooleantrueGlow around the edges.
labelstring"Loading"Text for screen readers.
classNamestring—Classes for the wrapper.

Dependencies

2 required packages

npm install clsx tailwind-merge

Related components

View all