logonpix

Checkbox

Example
Props

Checked

Installation
npx npix@latest add Checkbox
Usage
<>
  <Checkbox
    id="checkbox"
    onChange={()=>r(!e)}
  />
  <label htmlFor="checkbox">
    I agree to the terms and conditions
  </label>
</>
API

checked

boolean

Whether the checkbox is checked


FieldDescriptionType
checkedWhether the checkbox is checkedboolean