TGridGapSize

type
Layout & Sizing

Named gap size tokens for OrigamGrid: xs, sm, md, lg, xl.

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.

md
Medium gap — default for most grid layouts.
xs
Extra small gap — resolves to var(--origam-grid---gap-xs).
sm
Small gap — resolves to var(--origam-grid---gap-sm).
lg
Large gap — resolves to var(--origam-grid---gap-lg).
xl
Extra large gap — resolves to var(--origam-grid---gap-xl).

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

Grid with named gap token

html