179
The frame an app lives in: a sidebar with workspace switcher, nav, colour-dotted projects and an account menu that folds down to an icon rail, beside a rounded inset page with live breadcrumbs and a floating drawer on phones.
akaapp shell·sidebar layout
Run this in any project set up for the shadcn CLI. It copies the Inset Shell source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/inset-shell.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { InsetShell } from "@/components/inset-shell";
export default function Page() {
return <InsetShell />;
}A free React screen in the Shells collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Inset Shell source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| workspaces | ShellWorkspace[] | defaultWorkspaces |
| nav | ShellNavItem[] | defaultNav |
| projects | ShellProject[] | defaultProjects |
| user | ShellUser | defaultUser |
| breadcrumbs | string[] | — |
| defaultCollapsed | boolean | false |
| children | ReactNode | — |
| className | string | — |