Layout
Dashboard Shell
A sidebar, glass navbar, and footer floating as cards. Sized with container queries.
src/components/dashboard/dashboard-shell.tsxBehavior from @ui-sdk/react/collapsible
Frame
Ringkasan
Ruang kerja KodeKarsa
Import
tsx
import { DashboardContent, DashboardFooter, DashboardNav, DashboardNavbar, DashboardShell, DashboardSidebar } from "@/components/dashboard/dashboard-shell";Guidelines
- Below
@3xl/shell, the sidebar moves behind a menu button in the navbar. - The content uses
@container/main, so grids inside use@lg/main:and so on. - Set
--dashboard-offsetwhen a fixed header sits above the shell.