Skip to Content

Stack

A layout primitive that establishes vertical rhythm by adding identical margins between nested elements. 

With Separators

You can use any component as a separator.

Stack Customizing

globals.css
:root { --ex-stack-gap-y: calc(var(--spacing) * 2); }

API

ElementSelector
Stack.ex-stack
PropTypeDefault
asElementTypediv
asChildbooleanfalse


HStack

A layout primitive that arranges child elements in a strict horizontal row with uniform spacing. 

HStack Customizing

globals.css
:root { --ex-hstack-gap-x: calc(var(--spacing) * 2); }

API

ElementSelector
HStack.ex-hstack
PropTypeDefault
asElementTypediv
asChildbooleanfalse


VStack

A layout primitive that strictly chains its layout elements into automated vertical tracks with distinct gap metrics. 

VStack Customizing

globals.css
:root { --ex-vstack-gap-y: calc(var(--spacing) * 2); }

API

ElementSelector
VStack.ex-vstack
PropTypeDefault
asElementTypediv
asChildbooleanfalse
Last updated on