Command Palette

Search for a command to run...

Checkbox

A control that allows the user to toggle between checked and unchecked. Built on Base UI Checkbox primitive.

Installation

npx shadcn add checkbox --registry https://ui.ch.sh/r

Usage

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

export default function Example() {
  return <Checkbox />
}

Examples

Disabled