Skip to content
On this page

KCheckbox

A group of options for multiple choices.

Install

bash
pnpm add @ikun-ui/checkbox
pnpm add @ikun-ui/checkbox
bash
yarn add @ikun-ui/checkbox
yarn add @ikun-ui/checkbox
bash
npm install @ikun-ui/checkbox
npm install @ikun-ui/checkbox

Basic usage

Checkbox can be used alone to switch between two states.

Disabled checkbox

Set the disabled attribute.

Checkbox Props

NameTypeDefaultDescription
labelstring-Label of the Checkbox
disabledbooleanfalseWhether the Checkbox is disabled
valuebooleanfalseBinding value
clsstring-Additional class
attrsany{}Additional attributes

Checkbox Events

NameDescriptionType
updateValueEvent fired when the value is changes(value: Event)=> void

MIT Licensed