page SizingGuide { layout = "showcase" seo { title = "Sizing" description = "Compact through large scales adjust the complete component system consistently." } view {
Customization

Sizing

Compact through large scales adjust the complete component system consistently.

Component size

Every component accepts xs, sm, default, md, lg, and xl.

Global density

Compact, default, comfortable, and large scale the complete interface.

Responsive sizing

Component sizing cooperates with responsive breakpoints.

Match density to the task

Use compact controls for dense toolbars and tables, and the default size for forms. Keep related controls at the same size and retain usable touch targets on small screens.

<Button label="Filter" size="sm" />
<Input label="Project name" size="default" />
<RangeSlider label="Scale" min="0" max="5" step="0.2" value="2.4" />

Verify the result

Open the matching component page, change its options, and try the keyboard controls. Copy the demonstrated configuration into your page, then replace sample content with your data.

} }