@hackr/chakra-ui-checkbox
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-rc.9 • Public • Published

@chakra-ui/checkbox

Checkbox component is used in forms when a user needs to select multiple values from several options.

Installation

yarn add @chakra-ui/checkbox

# or

npm i @chakra-ui/checkbox

Import component

import { Checkbox } from "@chakra-ui/checkbox"

Usage

<Checkbox>This is a checkbox</Checkbox>

CheckboxGroup

CheckboxGroup is used to bind multiple checkboxes into a group, and it indicates whether one or more options are selected.

<CheckboxGroup defaultValue={["one", "two"]}>
  <Checkbox value="one">One</Checkbox>
  <Checkbox value="two">Two</Checkbox>
  <Checkbox value="three">Three</Checkbox>
</CheckboxGroup>

/@hackr/chakra-ui-checkbox/

    Package Sidebar

    Install

    npm i @hackr/chakra-ui-checkbox

    Weekly Downloads

    1

    Version

    1.0.0-rc.9

    License

    MIT

    Unpacked Size

    11.3 kB

    Total Files

    4

    Last publish

    Collaborators

    • gnuns