Installation & Usage
Basic Usage
import { Checkbox } from 'dotti'
<Checkbox
label="Agree to terms"
checked={agreed}
onChange={setAgreed}
/>Examples
Basic Checkbox
Standard checkbox with label and description.
Get updates about new components and features
Code
const [checked, setChecked] = useState(false)
<Checkbox
label="Subscribe to newsletter"
description="Get updates about new features"
checked={checked}
onChange={setChecked}
/>Props
TypeScript Support
All components are fully typed with TypeScript. Check your IDE for prop suggestions and documentation.