Elements

Reference

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.

Content · Footer · Header · Root · Sider · SiderResize

#LayoutRoot

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

#LayoutSider

PropTypeDefaultDescription
collapsedBooleanfalse—
widthString"16rem"—
collapsedWidthString"3.5rem"—
resizableBooleanfalse—
minWidthString"12rem"—
maxWidthString"24rem"—
EventPayload
update:collapsed(_collapsed: boolean) => true
update:width(_width: string) => true