All registry items
blocks/r/tonal-app-shell.json

Tonal App Shell

Cool tonal outer workspace frame with interactive pill navigation rail, quota card, and elevated content sheet.

Tonal App Shell

Toggle Tablet or Mobile for real isolated iframe breakpoints, or switch to Code for full source.

@tonal-tokens@chevron-linkclsxtailwind-mergelucide-react

Overview

Drop KPI grids, charts, or hairline data tables inside this elevated workspace sheet.

Installation

npx shadcn@latest add https://tonal.harlo.dev/r/tonal-app-shell.json

Dependencies

Tonal Registry Dependencies
npm Packages
clsxtailwind-mergelucide-react

Usage

import { TonalAppShell, TonalQuotaCard } from "@/components/tonal/blocks/tonal-app-shell";

<TonalAppShell items={navItems} activeId={active} onSelect={setActive} sidebarFooter={<TonalQuotaCard />}>
  ...
</TonalAppShell>

Props & Tokens API

PropTypeDefaultDescription
itemsTonalNavItem[]DEFAULT_APP_SHELL_NAVSidebar navigation items.
activeIdstring—Controlled active nav ID.
onSelect(id: string) => void—Called when a rail item is selected.
sidebarFooterReactNode<TonalQuotaCard />Custom bottom sidebar card or null to hide.
headerReactNode—Top sheet header slot.