LookPicker
moleculesLook switcher: picks the structural look (polished, depth, tactile, editorial), an axis independent of the theme colors; every look derives its colors from the active theme.
Appearance settings
the look row beside the theme row; theme.look reads the store, which persists it with the theme and paints data-look on <html>.
Look default · stable
Theme Dark · dark
Sizes, subsets and experimental looks
size sm/md; looks restricts and orders the choices; experimental={false} hides experimental looks; experimentalLabel renames their badge; block fills the width.
Toolbar and code
control height-matches a Toolbar next to ThemePicker; theme.setLook(id) drives it from code and onchange reports the pick.
pick a look
Props
| Prop | Type | Default | Description |
|---|---|---|---|
looks | readonly LookId[] | — | Restrict and order the offered looks; defaults to every registered look. |
experimental | boolean | true | Offer looks whose status is `experimental`. |
experimentalLabel | string | 'beta' | Badge on experimental looks; empty hides it. |
label | string | 'Look' | |
size | ControlSize | 'md' | |
control | boolean | — | Uniform toolbar control height (like Popover/Button `control`) so the whole segmented control height-matches its siblings; follows a sized `Cluster`. |
block | boolean | — | Fill the parent width, sharing it equally between segments. |
scroll | boolean | — | Single non-wrapping row that scrolls horizontally (scrollbar hidden). |
sound | boolean | — | Play UI sounds when enabled globally; false silences this instance. |
onchange | (look: LookId) => void | — | |
class | string | '' |