Docs
Checkbox

Checkbox

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

Installation

pnpm dlx shadcn@latest add checkbox

Usage

import { Checkbox } from "@/components/ui/checkbox"
<Checkbox />

Examples

With text

You agree to our Terms of Service and Privacy Policy.

Disabled

Form

You can manage your mobile notifications in the mobile settings page.

Select the items you want to display in the sidebar.