Compose structure with confidence.
Layout primitives are the foundation for every page shell, dashboard, and responsive section. Use them to create clean flow, consistent rhythm, and predictable behavior across breakpoints.
Aspect
media ratioFlex
axis controlGrid
spatial mapSidebar
app shellAspectRatio
Lock visual proportions for media blocks so cards and content rows stay balanced, even when assets have inconsistent source dimensions.
Ratio Presets
1:1
4:3
16:9
21:9
Image Fill
DirectionProvider
Provide `ltr` or `rtl` context for direction-aware behavior in nested component trees without rewriting each leaf component.
LTR vs RTL
LTR
Left to rightRTL
Right to leftNested Providers
LTR
Parent providerRTL
Nested overrideFlex
Control direction, alignment, distribution, and wrapping with one primitive. Use it for toolbars, action rows, metadata strips, and adaptive micro-layouts.
Direction + Align
Justify + Wrap
Grid
Build predictable page structure with columns, spans, and responsive breakpoints. Use Grid for macro composition and Flex for micro alignment.
Columns + Auto-fit
12-Column Spans
HStack
Fast shorthand for horizontal composition. Great for inline metadata, toolbars, compact card headers, and mixed icon+label sequences.
Action Row
Inline Meta
4.8 rating
128 reviews
Open now
VStack
Best for progressive reading and form-like flows. Stack title, description, fields, and actions while preserving visual rhythm.
Content Block
Project Summary
VStack keeps spacing consistent as content grows from short snippets to richer editorial sections.
Form Skeleton
Sidebar
Sidebar supports persistent app layouts with collapsible behavior, right/left placement, and mobile drawer adaptation under configured breakpoints.