Checkbox
Inputs · upstream shadcn/ui, GitHub theme
A control that allows the user to toggle between checked and not checked.
import { Checkbox } from "@/components/ui/checkbox"
<Checkbox />Tokens it uses
--inputborder#D1D9E0--primaryfill#1F883D--primary-foregroundtext#FFFFFF--destructiveerror#CF222E--ringfocus ring#0969DAShape and type: --ds-focus-width --ds-focus-style --ds-focus-offset --ds-disabled-opacity