byronwade/ui
Application UI

Patterns · Application UI

App Shell

A single variant-driven application layout primitive, one `variant` prop swaps between ten full page scaffolds, each composed from the app-shell header / nav / sidebar / panel / toolbar / aside / footer / content slots.

@byronwade/foundation@byronwade/utils

Feature showcase

Installation

Features

  • 2 examples

    Default, Trading Desk.

API

Props

PropTypeDefaultDescription
variant"dashboard" | "sidebar" | "stacked" | "three-column" | "master-detail" | "docs" | "editor" | "holy-grail" | "focused" | "command-center""dashboard"Which full-page application layout scaffold to render.
classNamestring-Extra Tailwind classes merged onto the root element.

Dependencies

PackageKindDescription
@byronwade/foundationregistryInstalled through the byronwade/ui registry.
@byronwade/utilsregistryInstalled through the byronwade/ui registry.

Source and related

FilePath
Componentregistry/components/app-shell.tsx
Default examplecontent/examples/app-shell/default.tsx
Trading Desk examplecontent/examples/app-shell/trading-desk.tsx