Hoppa till innehåll

Panel

Panel

PropTypeDescription
headingstringPanel heading.
Default: 'Inställningar'
requiredbooleanMarks heading with an asterisk to indicate that all fields are required inside.
Default: false
showbooleanShow and hide the component without re-rendering.
Default: true

Default slot for panel body.

<script>
import { Panel } from '@soleil-se/config-svelte';
</script>
<Panel heading="Inställningar">
<!-- Panel content -->
</Panel>