UI / Components / foundations / Checkbox

Checkbox

Standard checkbox with brand tint.

Accessible checkbox with checked / indeterminate / disabled states. Adopts the brand accent color on check.

$npx dock-ui add checkbox

Usage

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

<Checkbox checked={ok} onCheckedChange={setOk} label="Send me launch updates" />

Install

via CLI
$ npx dock-ui add checkbox
Writes the file(s) directly to your components/ui/ folder. You own the code.
For agents
curl -L https://ui.trydock.ai/r/checkbox.json
Returns a JSON manifest with file paths + contents. Agent-readable, LLM-fetchable.
← All components
Themes·Component kit · glossary
View on GitHub →