Rokkit 1.0.3

Density controls the spacing and sizing of all components globally. Set data-density on your root element:

html
Highlighting code...
ValuePaddingUse case
comfortableDefaultGeneral applications, dashboards
compactReducedData-heavy UIs, power users
cozyIncreasedTouch targets, consumer apps

The ThemeSwitcherToggle component exposes density switching when mode="full". You can also set it programmatically via the vibe store from @rokkit/app:

import { vibe } from '@rokkit/app'
vibe.density = 'compact'