SIZES
enum
Layout & Sizing
TypeScript enum for component size scale (x-small, small, default, large, x-large).
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Members
Members
All members of this enum. Click a value to copy it to clipboard.
- SIZES.X_SMALL
- Extra small — smallest size token rung.
- SIZES.SMALL
- Small — reduced footprint for inline contexts.
- SIZES.DEFAULT
- Default — the baseline size for the component.
- SIZES.LARGE
- Large — increased surface area.
- SIZES.X_LARGE
- Extra large — maximum size rung.
Ecosystem
Used by
Components and props that accept this enum as a value.
Usage
Examples
Ready-to-paste code snippets using this enum.
Using the enum in script setup