TDisplayLevel

type
Layout & Sizing

Responsive breakpoint threshold prop — accepts a named breakpoint key or a raw pixel width, below which the component switches to its mobile behaviour.

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.

xs
Extra-small breakpoint — typically < 600 px.
sm
Small breakpoint — typically 600–959 px.
md
Medium breakpoint — typically 960–1279 px.
lg
Large breakpoint — typically 1280–1919 px.
xl
Extra-large breakpoint — typically 1920–2559 px.
xxl
Double extra-large breakpoint — typically ≥ 2560 px.
<number>
Any integer pixel value used as a custom mobile threshold.

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

Hide arrows below the sm breakpoint

html

Custom pixel threshold

html