Toggles
<sc-toggles></sc-toggles>
This component let users create toggles container.
- Preview
- Code
<sc-toggles theme="container" accordion><sc-toggle summary="First Option" borderless shady>My Toggle Text</sc-toggle><sc-toggle summary="Second Option" borderless shady>My Toggle Text</sc-toggle><sc-toggle summary="Third Option" borderless shady>My Toggle Text</sc-toggle></sc-toggles>
Component Codex
Properties
Property | Description | Type | Default |
---|---|---|---|
accordion | Should this function as an accordion? | boolean | false |
collapsible | Are these collapsible? | boolean | true |
theme | Theme for the toggles | "container" | "default" | 'default' |
Shadow Parts
Part | Description |
---|---|
base |