Skip to Content
Layout & Disclosure@hacline/ui/preferences

Preferences

Apply user preference tokens onto element data attributes.

Usage

Buttons update the layout preference created with createPreference. Preferences writes data-layout, which example styles use to adjust list columns.

  • Requirements
  • Deliverables

Scoped Theme & System Sync

Manage system, light, and dark preferences via createColorScheme so data-color-scheme styles only this region.

This theme applies only to this preview.

Props

Prop

Type

View UI SDK parts and state attributes.