"use client"
import { Checkbox, CheckboxGroup, CheckboxLabel } from "@/components/ui/checkbox"
import { Description } from "@/components/ui/field"
export default function CheckboxGroupIndeterminateDemo() {
return (
<CheckboxGroup defaultValue={["encryption"]} className="ml-6">
<Checkbox isIndeterminate value="encryption" isReadOnly>
<CheckboxLabel>Encryption</CheckboxLabel>
<Description>Enable encryption.</Description>
</Checkbox>
<Checkbox value="firewall">
<CheckboxLabel>Firewall</CheckboxLabel>
<Description>Enable firewall protection.</Description>
</Checkbox>
<Checkbox value="backup">
<CheckboxLabel>Backup</CheckboxLabel>
<Description>Enable automatic backups.</Description>
</Checkbox>
<Checkbox isIndeterminate value="anomalyDetection">
<CheckboxLabel>Anomaly Detection</CheckboxLabel>
<Description>Enable anomaly detection.</Description>
</Checkbox>
</CheckboxGroup>
)
}
npx shadcn@latest add @intentui/checkbox-group-indeterminate-demoUsage varies by registry entry. Refer to the registry docs or source files below for details.