Layout & Theming
Customize the look & feel
Layout
The component allows to fairly easy customize its layout:
Here is an example of a valid Layout component that contains all the recommended slots and the default CSS classes.
You can add classes and elements as you like. You can even add more scoped slots. The scope of each scoped slot is automatically populated with { state, select }
, where state
contains various state related flags & properties and select
is the component instance itself.
Theming
The component utilizes CSS variables to make it easy for you to apply quick changes in component's size and colors. Check the root element in the devtools for the compleet list.
Scaling
Since all elements are sized using em
units you can easily scale the component by changing the font size of the root element:
Last updated