Panel
Prop | Type | Description |
---|---|---|
heading | string | Panel heading. Default: 'Inställningar' |
required | boolean | Marks heading with an asterisk to indicate that all fields are required inside. Default: false |
show | boolean | Show and hide the component without re-rendering. Default: true |
Default slot for panel body.
Example
Section titled “Example”<script> import { Panel } from '@soleil-se/config-svelte';</script>
<Panel heading="Inställningar"> <!-- Panel content --></Panel>