Checkbox

A checkbox with an optional label and description. Bindable and disableable.

Launch checklist

2 / 5

Installation

Copy the command below and run it in your terminal.

bunx @sivir/ui add checkbox

Usage

Import and use the Checkbox component:

import { Checkbox } from '$lib/sivir/components/checkbox';

let checked = $state();

<Checkbox bind:checked label="Accept" />

Examples

Label only

With description

Disabled

Checked