Open this example in the interactive library
Source code
// app/studio/loading.tsx
export default function TableLoadingPlaceholder() {
return (
<table aria-busy="true">
<caption>Loading orders…</caption>
<tbody>
{[1, 2, 3].map((n) => (
<tr key={n}>
<td>Order {n}</td>
<td>Pending</td>
</tr>
))}
</tbody>
</table>
);
}
