// Skeleton

Skeleton

Loading placeholders with a shimmer sweep — block, text-line, and circle shapes.

.talos-skeleton is the loading placeholder — a flat --talos-surface-2 block with a faint light band sweeping across it. Square corners (border-radius: 0) by default keep it on the HUD grid; the shimmer is pure CSS, so the placeholder animates with no JS and stops dead under prefers-reduced-motion.

Default

PREVIEW
<span class="talos-skeleton" style="width:240px"></span>

The base block: full-width, 1.5rem tall, square. A ::after band sweeps left→right on a 1.6s loop. Size it with width/height to match the content it stands in for.

Text lines

PREVIEW
<span class="talos-skeleton talos-skeleton--text" style="width:90%"></span>
<span class="talos-skeleton talos-skeleton--text" style="width:70%"></span>
<span class="talos-skeleton talos-skeleton--text" style="width:80%"></span>

--text shrinks the block to 0.8em with a bottom margin so you can stack several for a paragraph; vary the width per line (the last one usually narrower) to read as wrapping prose.

Circle

PREVIEW
<span class="talos-skeleton talos-skeleton--circle"></span>

--circle makes a 2.5rem round placeholder for an avatar or icon slot.

Classes

ClassEffect
.talos-skeletonbase block — full-width, 1.5rem tall, shimmer sweep
.talos-skeleton--text0.8em line + bottom margin; stack for paragraphs
.talos-skeleton--circle2.5rem round placeholder (avatar/icon)

The shimmer ::after animation is suppressed under prefers-reduced-motion.