A checkbox with an optional label and description. Bindable and disableable.
Copy the command below and run it in your terminal.
bunx @sivir/ui add checkbox
pnpm dlx @sivir/ui add checkbox
npx @sivir/ui add checkbox
yarn dlx @sivir/ui add checkbox
Import and use the Checkbox component:
import { Checkbox } from '$lib/sivir/components/checkbox'; let checked = $state(); <Checkbox bind:checked label="Accept" />