# App Shell 1

> Responsive sidebar, breadcrumb header, workspace navigation, and calm application content frame

A shadcn/ui block from the [@shadcnstore](https://www.shadcnstore.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcnstore/app-shell-1).

- Page, with a live preview: https://shadcn.exchange/r/shadcnstore/app-shell-1
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnstore/app-shell-1-light-612fb3348f876a75.png
- Registry item: https://shadcnstore.com/r/app-shell-1.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnstore.com/r/app-shell-1.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- npm packages: `lucide-react`
- Registry items: `avatar`, `breadcrumb`, `button`, `card`, `dropdown-menu`, `input`, `separator`, `sidebar`

## Files

### `storage/app/registry-sources/application/app-shells/app-shell-1/page.tsx`

```tsx
import { AppShell1 } from '@/components/blocks/application/app-shells/app-shell-1/components/app-shell-1'

export default function Page() {
  return (
    <div className="flex min-h-svh w-full items-center justify-center">
      <div className="w-full">
        <AppShell1 />
      </div>
    </div>
  )
}
```

### `storage/app/registry-sources/application/app-shells/app-shell-1/app-shell-1.tsx`

```tsx
'use client'

import { Bell, Plus, Search } from 'lucide-react'

import { Breadcrumb, BreadcrumbItem, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from '@/components/ui/breadcrumb'
import { Button } from '@/components/ui/button'
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'
import { Input } from '@/components/ui/input'
import { Separator } from '@/components/ui/separator'
import { SidebarInset, SidebarProvider, SidebarTrigger } from '@/components/ui/sidebar'

import { AppShell1Sidebar } from './app-shell-1-sidebar'

const stats = [
  ['Active projects', '12'],
  ['Open tasks', '48'],
  ['Team members', '16'],
]

export function AppHeader() {
  return (
    <header className="flex h-14 shrink-0 items-center gap-3 border-b px-4 sm:px-6">
      <SidebarTrigger aria-label="Toggle navigation" className="min-h-11 min-w-11" />
      <Separator orientation="vertical" className="data-vertical:h-5 data-vertical:self-center" />
      <Breadcrumb>
        <BreadcrumbList>
          <BreadcrumbItem className="hidden sm:flex">Projects</BreadcrumbItem>
          <BreadcrumbSeparator className="hidden sm:flex" />
          <BreadcrumbItem>
            <BreadcrumbPage>Overview</BreadcrumbPage>
          </BreadcrumbItem>
        </BreadcrumbList>
      </Breadcrumb>
      <div className="ml-auto hidden w-56 md:block">
        <Input aria-label="Search workspace" placeholder="Search…" />
      </div>
      <Button variant="ghost" size="icon" aria-label="Notifications, 3 unread">
        <Bell />
        <span className="sr-only">3 unread</span>
      </Button>
    </header>
  )
}

export function AppContent() {
  return (
    <main className="flex flex-1 flex-col gap-6 p-4 sm:p-6">
      <div className="flex items-center justify-between gap-4">
        <div>
          <h1 className="text-2xl font-semibold tracking-tight">Overview</h1>
          <p className="text-sm text-muted-foreground">A clear view of your workspace.</p>
        </div>
        <Button>
          <Plus data-icon="inline-start" />
          New project
        </Button>
      </div>
      <div className="grid gap-6 sm:grid-cols-2 lg:grid-cols-3">
        {stats.map(([label, value]) => (
          <Card key={label}>
            <CardHeader>
              <CardDescription>{label}</CardDescription>
              <CardTitle className="text-3xl">{value}</CardTitle>
            </CardHeader>
          </Card>
        ))}
      </div>
      <Card className="min-h-72">
        <CardHeader>
          <CardTitle>Project activity</CardTitle>
          <CardDescription>Your product content goes inside this shell.</CardDescription>
        </CardHeader>
        <CardContent className="flex flex-1">
          <div className="flex flex-1 items-center justify-center rounded-lg border border-dashed text-sm text-muted-foreground">
            <Search className="mr-2 size-4" />
            Replace with your screen
          </div>
        </CardContent>
      </Card>
    </main>
  )
}

export function AppShell1() {
  return (
    <SidebarProvider>
      <AppShell1Sidebar />
      <SidebarInset>
        <AppHeader />
        <AppContent />
      </SidebarInset>
    </SidebarProvider>
  )
}

export default AppShell1
```

### `storage/app/registry-sources/application/app-shells/app-shell-1/app-shell-1-sidebar.tsx`

```tsx
'use client'

import { ChevronsUpDown } from 'lucide-react'

import { Avatar, AvatarFallback } from '@/components/ui/avatar'
import {
  DropdownMenu,
  DropdownMenuContent,
  DropdownMenuGroup,
  DropdownMenuItem,
  DropdownMenuLabel,
  DropdownMenuTrigger,
} from '@/components/ui/dropdown-menu'
import { Input } from '@/components/ui/input'
import {
  Sidebar,
  SidebarContent,
  SidebarFooter,
  SidebarGroup,
  SidebarGroupContent,
  SidebarGroupLabel,
  SidebarHeader,
  SidebarMenu,
  SidebarMenuButton,
  SidebarMenuItem,
  useSidebar,
} from '@/components/ui/sidebar'

import { appShell1Nav, appShell1User } from "@/components/data/app-shell-1-nav"

// SidebarInset must remain a direct sibling of Sidebar. The sidebar primitive persists open state in the `sidebar_state` cookie.
function BrandMark() {
  return (
    <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
      <path
        d="M26 24.75C26.4142 24.75 26.75 24.4142 26.75 24C26.75 23.5858 26.4142 23.25 26 23.25V24.75ZM26 23.25H11V24.75H26V23.25ZM8.75 21V15H7.25V21H8.75ZM11 23.25C9.75736 23.25 8.75 22.2426 8.75 21H7.25C7.25 23.0711 8.92893 24.75 11 24.75V23.25Z"
        fill="currentColor"
      />
      <path
        d="M1.5 3.25C1.08579 3.25 0.75 3.58579 0.75 4C0.75 4.41421 1.08579 4.75 1.5 4.75V3.25ZM1.5 4.75H6V3.25H1.5V4.75ZM7.25 6V21H8.75V6H7.25ZM6 4.75C6.69036 4.75 7.25 5.30964 7.25 6H8.75C8.75 4.48122 7.51878 3.25 6 3.25V4.75Z"
        fill="currentColor"
      />
      <path
        d="M22 21.75C22.4142 21.75 22.75 21.4142 22.75 21C22.75 20.5858 22.4142 20.25 22 20.25V21.75ZM22 20.25H11V21.75H22V20.25ZM8.75 18V12H7.25V18H8.75ZM11 20.25C9.75736 20.25 8.75 19.2426 8.75 18H7.25C7.25 20.0711 8.92893 21.75 11 21.75V20.25Z"
        fill="currentColor"
      />
      <path
        d="M27.2057 19.754C27.0654 20.1438 26.6357 20.346 26.246 20.2057C25.8562 20.0654 25.654 19.6357 25.7943 19.246L27.2057 19.754ZM30.0361 9.67744L29.3305 9.4234L29.3305 9.4234L30.0361 9.67744ZM25.7943 19.246L29.3305 9.4234L30.7418 9.93148L27.2057 19.754L25.7943 19.246ZM28.1543 7.75L8 7.75V6.25L28.1543 6.25V7.75ZM29.3305 9.4234C29.6237 8.60882 29.0201 7.75 28.1543 7.75V6.25C30.059 6.25 31.3869 8.13941 30.7418 9.93148L29.3305 9.4234Z"
        fill="currentColor"
      />
      <path
        d="M13.5 21.75C13.0858 21.75 12.75 21.4142 12.75 21C12.75 20.5858 13.0858 20.25 13.5 20.25V21.75ZM26.7111 19.009L27.4174 19.2613L27.4174 19.2613L26.7111 19.009ZM13.5 20.25H23.8858V21.75H13.5V20.25ZM26.0048 18.7568L27.7937 13.7477L29.2063 14.2523L27.4174 19.2613L26.0048 18.7568ZM23.8858 20.25C24.8367 20.25 25.6849 19.6522 26.0048 18.7568L27.4174 19.2613C26.8843 20.7537 25.4706 21.75 23.8858 21.75V20.25Z"
        fill="currentColor"
      />
      <path d="M21.1694 10.5806L14.5651 17.1849" stroke="currentColor" />
      <path d="M22.1694 14.5806L18.5632 18.1868" stroke="currentColor" />
      <circle cx="13.1" cy="26.1" r="1.7" stroke="currentColor" />
      <circle cx="22.1" cy="26.1" r="1.7" stroke="currentColor" />
    </svg>
  )
}

export function AppShell1Sidebar() {
  const { setOpenMobile } = useSidebar()

  return (
    <Sidebar>
      <SidebarHeader>
        <a
          href="#overview"
          className="flex min-h-11 items-center gap-2 rounded-lg px-2 font-semibold"
          onClick={() => setOpenMobile(false)}
        >
          <BrandMark />
          ShadcnStore
        </a>
      </SidebarHeader>
      <SidebarContent>
        <SidebarGroup>
          <SidebarGroupLabel>Workspace</SidebarGroupLabel>
          <SidebarGroupContent>
            <nav aria-label="Workspace">
              <SidebarMenu>
                {appShell1Nav.map(item => (
                  <SidebarMenuItem key={item.label}>
                    <SidebarMenuButton
                      isActive={item.active}
                      render={
                        <a
                          href={item.href}
                          aria-current={item.active ? 'page' : undefined}
                          aria-label={item.label}
                          onClick={() => setOpenMobile(false)}
                        />
                      }
                    >
                      <item.icon />
                      <span>{item.label}</span>
                    </SidebarMenuButton>
                  </SidebarMenuItem>
                ))}
              </SidebarMenu>
            </nav>
          </SidebarGroupContent>
        </SidebarGroup>
        <div className="px-2 md:hidden">
          <Input aria-label="Search workspace" placeholder="Search…" />
        </div>
      </SidebarContent>
      <SidebarFooter>
        <SidebarMenu>
          <SidebarMenuItem>
            <DropdownMenu>
              <DropdownMenuTrigger render={<SidebarMenuButton className="min-h-11" />}>
                <Avatar className="size-7">
                  <AvatarFallback>{appShell1User.initials}</AvatarFallback>
                </Avatar>
                <span className="truncate">{appShell1User.name}</span>
                <ChevronsUpDown className="ml-auto" />
              </DropdownMenuTrigger>
              <DropdownMenuContent side="top">
                <DropdownMenuGroup>
                  <DropdownMenuLabel>{appShell1User.email}</DropdownMenuLabel>
                  <DropdownMenuItem>Account settings</DropdownMenuItem>
                  <DropdownMenuItem>Sign out</DropdownMenuItem>
                </DropdownMenuGroup>
              </DropdownMenuContent>
            </DropdownMenu>
          </SidebarMenuItem>
        </SidebarMenu>
      </SidebarFooter>
    </Sidebar>
  )
}

export default AppShell1Sidebar
```

### `storage/app/registry-sources/application/app-shells/app-shell-1/app-shell-1-nav.ts`

```ts
import { BarChart3, FolderKanban, Home, Settings, Users } from 'lucide-react'

export const appShell1Nav = [
  { label: 'Overview', href: '#overview', icon: Home, active: true },
  { label: 'Projects', href: '#projects', icon: FolderKanban },
  { label: 'Team', href: '#team', icon: Users },
  { label: 'Reports', href: '#reports', icon: BarChart3 },
  { label: 'Settings', href: '#settings', icon: Settings },
]

export const appShell1User = { name: 'Jordan Lee', email: 'jordan@acme.test', initials: 'JL' }
```
