TSize

type
Layout & Sizing

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.

typescript

Accepted

Values

Accepted string literal values for this type. Click a value to copy it.

small
Small — reduced footprint for inline contexts.
x-small
Extra small — smallest token size rung.
default
Default — the baseline size for the component.
large
Large — increased surface area.
x-large
Extra large — maximum size rung.

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

Btn size scale

html