Avatar and Text Feed Skeleton
The canonical skeleton: avatar block, title bar, body lines, repeated down the page. Built for feeds and comment threads where every item has the same shape.
Create a skeleton loading state for a feed of article cards, five placeholder cards in a vertical stack with a 16px gap. Each placeholder mirrors the real card: a 48px rounded-full avatar block, then a column with a 70%-width 16px-tall title bar, a 45%-width subtitle bar, and two full-width 12px-tall body lines, all bg-zinc-200 rounded-lg. Animate a shimmer sweep with a CSS keyframe — a linear-gradient white overlay translating across each block over 1.4s infinite — on a pseudo-element, with prefers-reduced-motion swapping to a static 60% opacity fill. Set aria-busy="true" on the container with a visually hidden "Loading feed" label, mark each block aria-hidden, and render the real cards into this same container on load so the page never reflows.




