Checkbox

The Checkbox component is used to check terms.

1. Import

KUMUI exports 1 Checkbox-related components:

import { Checkbox } from "@rohitgadekar/kimui";

2. Usage


3. API

3.1 Checkbox

Attribute Type Description Default
id
string
The unique ID for the checkbox element. -
checked
boolean
Determines if the checkbox is checked or not. false
disabled
boolean
Disables the checkbox if set to true. false
onChange
function
Callback function that is triggered when the checkbox is toggled. -
className
string
Optional custom CSS class for styling. -