SIZES_ARRAY

const
Layout & Sizing

Ordered list of the five standard size values (x-small → x-large) used by the `size` prop across components. Useful for iterating the complete size matrix in stories and validation helpers.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Entries

Values

All entries in this constant. Click a value to copy it to clipboard.

SIZES.X_SMALL
Extra-small size.
SIZES.SMALL
Small size.
SIZES.DEFAULT
Default / medium size.
SIZES.LARGE
Large size.
SIZES.X_LARGE
Extra-large size.

Ecosystem

Used by

Composables and components that consume this constant.

Usage

Examples

Ready-to-paste code snippets using this constant.

Validating a size value

typescript