Docs
Checkbox

Checkbox

A control that allows the user to toggle between checked and not checked.

Installation

	npx shadcn-svelte add checkbox
	npx shadcn-svelte add checkbox

Usage

	<script lang="ts">
  import { Checkbox } from "$components/ui/checkbox";
</script>
	<script lang="ts">
  import { Checkbox } from "$components/ui/checkbox";
</script>
	<Checkbox />
	<Checkbox />

Examples

With Text

You agree to our Terms of Service and Privacy Policy.

Disabled