Layout

AppShell API

AppShell defines the main Foundry workspace frame for admin, CMS, and dashboard interfaces.

Preview

Dashboard

Workspace

Foundry shell primitives compose into a complete admin frame.

42 entries

Import

import { AppShell, Sidebar, SidebarSection, SidebarItem, Main, PageHeader, Toolbar, ToolbarGroup } from "@axonyx/react";

Props

PropTypeDefaultDescription
railWidth"sm" | "md" | "lg""md"Controls sidebar rail width for the shell layout.
rail"default" | "none""default"Removes the rail column when set to `none`.
titleReactNodeundefinedSidebar heading shown above navigation groups.
actionsReactNodeundefinedHeader actions for Sidebar or PageHeader.
wrapbooleantrueAllows Toolbar content to wrap on smaller widths.

CSS contract

.ax-app-shell
.ax-sidebar
.ax-sidebar__header
.ax-sidebar__body
.ax-sidebar-section
.ax-sidebar-section__title
.ax-sidebar-item
.ax-main
.ax-page-header
.ax-page-header__actions
.ax-toolbar
.ax-toolbar__group