Elements

Components

Layout

The application skeleton: Root, Header, Sider, Content, Footer — the admin arrangement dressed in the paper-and-ink surfaces. The root is a full-height grid; a declared `sider` turns the columns around to meet whichever edge the rail stands on.

#Basic usage

layout/basic Vue React
The workbench

The content area takes the flow's full measure and holds it to a readable column.

Below the flow the footer rests at the foot of the grid, however little content there is.

By Sages Elements — the paper-and-ink system.

layout/controlled-collapse Vue React
The workbench

The rail folds on the caller's word and resizes by hand — drag the hairline at its edge, or hold an arrow key.

By Sages Elements — the paper-and-ink system.

#Props

#LayoutRoot

PropTypeDefaultDescription
siderString as PropType<"start" | "end">undefined—

#LayoutSider

PropTypeDefaultDescription
collapsedBooleanfalse—
widthString"16rem"—
collapsedWidthString"3.5rem"—
resizableBooleanfalse—
minWidthString"12rem"—
maxWidthString"24rem"—