A selectable control for binary choices, form options, indeterminate states, labels, and validation messaging.
"use client"; import { Checkbox, Description, Label } from "@/components/ui/heroui-checkbox"; export default function InvalidDemo() { return ( <div className="flex min-h-screen w-full items-center justify-center overflow-hidden bg-background p-8"> <Checkbox isInvalid name="agreement"> <Label>I agree to the terms</Label> <Description>You must accept the terms to continue</Description> </Checkbox> </div> ); } export { InvalidDemo };