Dev Helpers
← Back

Dashboard loading shell

Place this file at app/studio/loading.tsx in an App Router project.

Open this example in the interactive library

Source code

// app/studio/loading.tsx

export default function DashboardLoadingShell() {
  return (
    <main aria-busy="true">
      <h1>Team overview</h1>
      <dl>
        {["Members", "Projects", "Tasks"].map((n) => (
          <div key={n}>
            <dt>{n}</dt>
            <dd>Loading…</dd>
          </div>
        ))}
      </dl>
    </main>
  );
}