GRID_GAP_SIZES
const
Layout & Sizing
Closed list of valid gap token values (xs → xl) accepted by the gap prop of OrigamGrid. Iterate this array to build a HstSelect or a picker without duplicating string literals.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Entries
Values
All entries in this constant. Click a value to copy it to clipboard.
- 'xs'
- Extra-small gap — tightest spacing.
- 'sm'
- Small gap.
- 'md'
- Medium gap — default value.
- 'lg'
- Large gap.
- 'xl'
- Extra-large gap — widest spacing.
Ecosystem
Used by
Composables and components that consume this constant.
OrigamGrid
GRID_GAP_SIZE_VAR
Usage
Examples
Ready-to-paste code snippets using this constant.
Iterating over valid gap sizes