DENSITY

enum
Layout & Sizing

Camelcase editorial update

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Members

Members

All members of this enum. Click a value to copy it to clipboard.

DENSITY.DEFAULT
Camel item description
DENSITY.COMPACT
Reduced padding — useful in tables and toolbars.
DENSITY.COMFORTABLE
Increased padding — comfortable for forms and cards.

Ecosystem

Used by

Components and props that accept this enum as a value.

Usage

Examples

Ready-to-paste code snippets using this enum.

Using the enum in script setup

typescript

Camel example

typescript