HQ UI

Checkbox

A checkbox allows a user to select multiple items from a list of individual items, or to mark one individual item as selected.

Installation

In the terminal, run the following command to begin:
npx hq-kit add checkbox

Checkbox

State

Label

You can add a label by passing the label prop wrap it as children.

<Checkbox label='I Accept Terms and Conditions' />
<Checkbox>I Accept Terms and Conditions</Checkbox>

Description

Controlled

{"selected":false}

Validation

Checkbox Group

State

Basic
Readonly
Invalid
Disabled

Group Description

AgreementPlease read and agree before continuing

Item Description

Email Settings

Controlled

Agreement
selected: []

Validation

AgreementPlease read and agree before continuing