EMPTY_STATE_SIZES

const
Feedback & Status

Closed list of valid `size` values for OrigamEmptyState (sm, md, lg). Controls icon and text scale to fit different container contexts.

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.

'sm'
Small size — compact icon and text, suitable for list cells or drawers.
'md'
Medium size — the default balanced presentation.
'lg'
Large size — prominent icon and heading, suitable for full-page states.

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamEmptyState

Usage

Examples

Ready-to-paste code snippets using this constant.

Iterating the size options

typescript