Back to blocks
BlockDashboard / ApplicationFree

App Shell, Sidebar Layout React component

An application shell with a left sidebar: workspace switcher, main navigation with badges and a sliding active highlight, a collapsible Projects group, Docs and Settings, a user menu, a top bar with breadcrumb, ⌘K search and a New button, a sidebar that collapses to icons, and an off-canvas drawer on phones.

About the App Shell, Sidebar Layout component

App Shell, Sidebar Layout is the frame most dashboards are built in: a sidebar on the left with your workspace, navigation and projects, a top bar with breadcrumbs, search and a primary action, and your page in the middle.

The details are in place: switch workspaces from the top of the sidebar, see unread counts on items, fold the Projects group, open the account menu at the bottom, and collapse the whole sidebar to icons to give the page more room. On phones the same sidebar slides in as a drawer.

When to use it

Use it as the layout for SaaS dashboards, admin panels, internal tools and anything with more than five or six sections.

Put rarely used destinations like Docs and Settings at the bottom so the main list stays short.

Installation

Add the App Shell, Sidebar Layout component to your project with the shadcn CLI. It lands in components/app-shell-sidebar.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/app-shell-sidebar

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More Dashboard / Application components

App Shell, Stacked Layout
Free
Referral Widget
Free
App Shell, Multi-column Layout
Free
What's New / In-app Changelog Widget
Free
Detail Screen
Free
Map Block
Free