Checkbox

Square checkboxes with the same flat, glass treatment as other controls. Includes support for disabled and indeterminate states.

Checkbox component

Preferences
Toggles inherit the mono uppercase labels used in forms.

Installation

pnpm dlx shadcn@latest add @omni/checkbox

Usage

import { Checkbox } from "@/components/ui/checkbox"
import { Label } from "@/components/ui/label"
<div className="flex items-center space-x-2">
  <Checkbox id="alerts" defaultChecked />
  <Label htmlFor="alerts">Alerts</Label>
</div>