Back to Snippets

AI Loading Animations CSS

Six loaders for the moments when an AI feature is working, each built from one element plus its pseudo-elements or small child elements. Spark spin turns and shrinks a four-point star. Gradient ring spins a conic gradient with a fading tail. Neural grid lights a three-by-three grid of dots in a diagonal wave. Orbit sends two dots around a center, Token stream grows bars from left to right like words arriving, and Word cycle rolls through Thinking, Searching and Writing.

The small line under each loader's name is the technique that drives it. The star is a clip-path polygon filled with a conic gradient. The ring is a conic gradient cut into a hoop by a radial-gradient mask. The grid wave comes from animation-delay steps set with nth-of-type, and the word cycle moves a column of words with translateY inside a box that is one line tall.

Every loader is a status region with visually hidden Loading text, so screen readers have words for the animation. For the text to be announced, keep the region in the page and add the text when work starts. The four accent colors are custom properties at the top of the stylesheet, and a dark color scheme swaps the tile and page colors. For visitors who prefer reduced motion, the movement stops and each loader fades gently instead, and in forced colors mode the loaders keep their own colors so they stay visible.

1
#css
#ai #loader
#loading animation
#spinner
#conic gradient
#animation
#collection