Layout
Spacer
Fills available flex space between peer controls.
idle
Usage
Examples
Project status
Recommendations
| Guidance | Practice |
|---|---|
| Do | Use available flex space to separate supporting controls from the main action. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | Use layout gaps for ordinary spacing. Spacer requires a flex layout with available space. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | <div> | Renders an empty flex item that grows to fill available space; it accepts native div attributes. |