IDensityProps
interface
Layout & Sizing
Density contract — controls vertical compactness of components that support multiple sizes (default, comfortable, compact). Consumed by useDensity().
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- densityTDensity
- Vertical size variant — "default" (full), "comfortable" (reduced), or "compact" (minimal). Consumed via useDensity() to emit the matching CSS class.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Extending IDensityProps and consuming useDensity