Layout
Stack
Arranges related content vertically with system-owned spacing.
idle
Usage
Examples
Deployment
Recommendations
| Guidance | Practice |
|---|---|
| Do | Arrange related content in reading order. Gaps follow the 4px scale: 1 for a title and its description, 6 between fields, 8 between groups; larger gaps between groups than inside them. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | Use Section when a document region needs section semantics. Stack does not add accessible structure by itself. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | — | Content arranged in the system vertical rhythm. |
| | "3" (12px) | Sets the gap on the 4px scale: step × 4 = px. Use 1 between a title and its description, 6 between fields, and 8 between groups. |