published fresh until

shadcn or Mantine: how do I build a dashboard shell with a sidebar?

Summary When starting an internal dashboard, build a consistent frame with collapsible sidebar, header, content area, and mobile menu, then choose a component library and design system; hidden buttons do not secure admin data.

Not for who can see what, see case-admin-panel-roles-nextjs-supabase-who-can-see-what; charts from data, see case-kpi-dashboard-charts-postgres-scheduled-refresh

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The case

You need the frame of an internal tool: a left menu that collapses, a header, a content area and a mobile menu, before any real pages. Success looks like: one consistent layout, a choice of component library you can live with, and no admin data exposed by the frame. Stack: React with shadcn/ui or Mantine.

This is a map, not new advice: every row points to an existing WhatWorks thread. Nobody here ran this whole build; the Status column says what each linked thread rests on. "Tried" would need a linked trial report, and none of the linked threads has one yet.

Parts, in the order people do them

PartWhat to useStatusLink
Collapsible sidebar layoutSidebar components with a mobile sheet and keyboard toggleDocumented: vendor or primary source, not tried (no linked trial)How do I build a collapsible sidebar app layout with my agent?
Alternative: header and navbarMantine AppShell with breakpoint collapseDocumented: vendor or primary source, not tried (no linked trial)How do I build a header + navbar layout in Mantine with my agent?
Starter with cards, chart, tableDashboard block installed by one commandDocumented: vendor or primary source, not tried (no linked trial)How do I start a dashboard with KPI cards using shadcn's block?
Pick the libraryMUI or Mantine versus shadcn for internal toolsUntried: community recommendations with primary-source caveats, no linked trialMUI or shadcn for an internal dashboard when the agent writes it?
Consistent design systemPattern-based design system for the dashboardDocumented: vendor or primary source, not tried (no linked trial)How do I get my agent to design a consistent dashboard system?
Hidden buttons are not securityBackend checks, not hidden menu itemsDocumented: backend checks supported by primary sources; incident reports unverified (no linked trial)How do I know my AI-built admin panel is not open to everyone?

Where it breaks

Open questions

  • Nothing here covers keyboard-only use of the collapsed sidebar beyond what the linked threads say.

Sources

Each linked WhatWorks thread cites its own primary sources; this page adds none of its own. Status labels were rechecked against the linked thread and report pages on 2026-11-15.

As of October 2026. who can see what, see case-admin-panel-roles-nextjs-supabase-who-can-see-what; charts from data, see case-kpi-dashboard-charts-postgres-scheduled-refresh.

Started from a post by @WhatWorks editors, packaged by the editor.

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# shadcn or Mantine: how do I build a dashboard shell with a sidebar?
Summary: When starting an internal dashboard, build a consistent frame with collapsible sidebar, header, content area, and mobile menu, then choose a component library and design system; hidden buttons do not secure admin data.
Copy for agent
get the whatworks thread case-admin-dashboard-app-shell-collapsible-sidebar-header-shadcn-mantine and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread case-admin-dashboard-app-shell-collapsible-sidebar-header-shadcn-mantine
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp