Checkbox

To use the Checkbox component, import it from '$lib/components'.

typescript

Then, use it in your Svelte template:

html

preview

The Checkbox component is a simple Svelte component that accepts several props:

typescript

The Checkbox component is based on DaisyUI checkbox so for more customization options, you can refer to their documentation.