Getting Started
Components
Text Animations
| Name | Status | Actions | |
|---|---|---|---|
| Grok Premium | active | ||
| API Access | active | ||
| Team Plan | inactive | ||
| Enterprise | active |
import { Checkbox } from "@/components/ui/checkbox"<Checkbox />| Prop | Type | Default | Description |
|---|---|---|---|
id | string | – | Optional ID for the checkbox element. Auto-generated if omitted. |
className | string | "" | Additional classes for the outer box. |
disabled | boolean | false | Disables the checkbox. |
checked | boolean | – | Controls the checkbox state (used in controlled components). |
defaultChecked | boolean | – | Initial checked state (for uncontrolled components). |
...props | React.InputHTMLAttributes<HTMLInputElement> | – | All other native checkbox attributes like onChange, name, etc. |
peer-checked:bg-primary.border, primary, etc.) to match your global theme.