TLines

type
Layout & Sizing

Number of lines of text a list item subtitle can occupy before being truncated — controls the vertical density of OrigamList and OrigamListItem.

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.

one
Single-line item — subtitle clamps to 1 line. Most compact layout.
two
Two-line item — subtitle wraps to at most 2 lines. Default for rich lists.
three
Three-line item — subtitle wraps to at most 3 lines. Suitable for content-heavy lists.

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

List with two-line items

html