Skip to content
Hazine

App shells

1 of 6 shipped. Each take is a different structure, and the note under its title says how.

  • app shells

    Two regions: the page sits as an inset frame on the sidebar surface and scrolls under a fixed top bar. The sidebar slides off canvas on wide screens and becomes a modal sheet on narrow ones.

    shadcn add @hazine/app-shell-sidebar-inset

    Depends on breadcrumb, button, kbd, separator, sidebar, tooltip, @hazine/heading, @hazine/use-controllable-state, lucide-react

Planned 5

  • App Shell with Rail and Panel

    Double-column navigation: selecting a rail icon swaps the contents of the adjacent panel instead of navigating, and the panel can be dismissed to give the content full width while the rail stays.

    Pro
  • App Shell with Top Navigation

    No vertical navigation at all: primary links live in the header and overflow into a More menu when they do not fit, and content is width-constrained rather than fluid.

    Pro
  • Three-Pane App Shell

    Three resizable columns with persisted widths; on narrow screens the panes become a stacked drill-down (list, then detail with a back button) instead of shrinking.

    Pro
  • App Shell with Right Inspector

    Adds a complementary region that pushes content on wide screens and overlays as a sheet on narrow ones; the inspector has its own header, collapsible sections and an empty state when nothing is selected.

    Pro
  • App Shell with Mobile Tab Bar

    Navigation changes position by viewport (bottom bar on touch, side column on desktop) from one data source; respects safe-area insets and hides the bar while the on-screen keyboard is open.

    Pro