TDensity
type
Layout & Sizing
Vertical spacing density: default, compact, comfortable.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Accepted
Values
Accepted string literal values for this type. Click a value to copy it.
- default
- Standard vertical padding — balanced for most contexts.
- compact
- Reduced vertical padding — useful in data tables and toolbars.
- comfortable
- Increased vertical padding — comfortable for forms and cards.
Ecosystem
Used by
Components and props that accept this type as a value.
Usage
Examples
Ready-to-paste code snippets using this type.
TextField density comparison