<section id="loading-state" class="primitive-showcase group flex w-full scroll-mt-8 flex-col border-b border-dashed border-line px-8 py-10" style="animation:fade-up 600ms cubic-bezier(0.23,1,0.32,1) 0ms both"><div class="mb-3 flex items-start gap-2 sm:items-baseline"><span class="mt-0.5 font-mono text-[11px] text-ink-3 tabular-nums sm:mt-0">01</span><div class="min-w-0 sm:flex sm:items-baseline sm:gap-2"><h3 class="whitespace-nowrap text-[13px] font-semibold text-ink">Loading State</h3><p class="mt-0.5 text-[12.5px] text-ink-3 text-pretty sm:mt-0 sm:truncate">Pixel-grid loader with shimmer and elapsed time.</p></div></div><div class="primitive-demo-surface relative flex items-center justify-center overflow-hidden rounded-window bg-canvas p-3 shadow-hairline" style="min-height:272px"><div class="w-full max-w-120 [&amp;&gt;*]:mx-auto"><div class="flex w-fit items-center gap-2.5"><span aria-hidden="true" class="grid grid-cols-[repeat(3,4px)] gap-[1.5px]"><span class="size-[4px] bg-ink rounded-[1px]" style="opacity:0.15;animation:pixel-on 650ms ease-in-out 90ms infinite"></span><span class="size-[4px] bg-ink rounded-[1px]" style="opacity:0.15;animation:pixel-on 650ms ease-in-out 180ms infinite"></span><span class="size-[4px] bg-ink rounded-[1px]" style="opacity:0.15;animation:pixel-on 650ms ease-in-out 270ms infinite"></span><span class="size-[4px] bg-ink rounded-[1px]" style="opacity:0.15;animation:pixel-on 650ms ease-in-out 0ms infinite"></span><span class="size-[4px] bg-ink rounded-[1px]" style="opacity:0.15;animation:pixel-on 650ms ease-in-out 90ms infinite"></span><span class="size-[4px] bg-ink rounded-[1px]" style="opacity:0.15;animation:pixel-on 650ms ease-in-out 180ms infinite"></span><span class="size-[4px] bg-ink rounded-[1px]" style="opacity:0.15;animation:pixel-on 650ms ease-in-out 90ms infinite"></span><span class="size-[4px] bg-ink rounded-[1px]" style="opacity:0.15;animation:pixel-on 650ms ease-in-out 180ms infinite"></span><span class="size-[4px] bg-ink rounded-[1px]" style="opacity:0.15;animation:pixel-on 650ms ease-in-out 270ms infinite"></span></span><span class="bg-clip-text text-[13px] font-medium text-transparent" style="background-image:linear-gradient(90deg, var(--ink-3) 35%, var(--ink) 50%, var(--ink-3) 65%);background-size:200% 100%;animation:shimmer-text 1.4s linear infinite">Churning</span><span class="font-mono text-[12px] text-ink-3 tabular-nums">9.4s</span></div></div><div class="absolute bottom-2.5 left-1/2 flex -translate-x-1/2 rounded-full bg-field p-0.5"><button class="rounded-full px-2 py-0.5 text-[11.5px] font-medium transition-[background-color,color,box-shadow] duration-150
                  bg-surface text-ink shadow-btn">Drive</button><button class="rounded-full px-2 py-0.5 text-[11.5px] font-medium transition-[background-color,color,box-shadow] duration-150
                  text-ink-3 hover:text-ink-2">Dots</button><button class="rounded-full px-2 py-0.5 text-[11.5px] font-medium transition-[background-color,color,box-shadow] duration-150
                  text-ink-3 hover:text-ink-2">Orbit</button></div><div class="absolute top-3 right-3 flex gap-1 opacity-0 transition-opacity duration-150 group-hover:opacity-100 group-focus-within:opacity-100"><button aria-label="Copy code" class="flex size-7 items-center justify-center rounded-control bg-surface
              shadow-btn transition-colors duration-100 hover:bg-hover
              text-ink-3 hover:text-ink"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="12" height="12" rx="2.5"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg></button><button aria-label="View code" class="flex size-7 items-center justify-center rounded-control bg-surface text-ink-3 shadow-btn transition-colors duration-100 hover:bg-hover hover:text-ink"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 18l6-6-6-6M8 6l-6 6 6 6"></path></svg></button></div></div></section>