"use client"; import React from "react"; import { Checkbox } from "@/subframe/components/Checkbox"; function CheckboxExample() { return <Checkbox label="Label" disabled={false} />; } export default CheckboxExample;
label
string
"Label"
disabled
boolean
false
onCheckedChange
(open: boolean) => void
Use checked and onCheckedChange props to control the checked state.
checked
View code