@vaadin/checkbox-group
Version:
vaadin-checkbox-group
42 lines (27 loc) • 1.27 kB
Markdown
A web component that allows the user to choose several items from a group of binary choices.
[](https://vaadin.com/docs/latest/components/checkbox)
[](https://www.npmjs.com/package/@vaadin/checkbox-group)
```html
<vaadin-checkbox-group label="Export data">
<vaadin-checkbox value="0" label="Order ID"></vaadin-checkbox>
<vaadin-checkbox value="1" label="Product name"></vaadin-checkbox>
<vaadin-checkbox value="2" label="Customer"></vaadin-checkbox>
<vaadin-checkbox value="3" label="Status"></vaadin-checkbox>
</vaadin-checkbox-group>
```
Install the component:
```sh
npm i @vaadin/checkbox-group
```
Once installed, import the component in your application:
```js
import '@vaadin/checkbox-group';
```
Read the [contributing guide](https://vaadin.com/docs/latest/contributing) to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.
Apache License 2.0
Vaadin collects usage statistics at development time to improve this product.
For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.