Open this example in the interactive library
Source code
// app/studio/loading.tsx
export default function ArticleLoadingSkeleton() {
return (
<article aria-busy="true" aria-label="Loading article">
<h1>Loading article…</h1>
{[85, 100, 65].map((w) => (
<div
key={w}
aria-hidden="true"
style={{ width: w + "%", height: 12, background: "#ccc", marginBlock: 10 }}
/>
))}
</article>
);
}
