# @vaadin/list-box

A web component for selecting one or more values from a scrollable list of items.

[Documentation + Live Demo ↗](https://vaadin.com/docs/latest/components/list-box)

[![npm version](https://badgen.net/npm/v/@vaadin/list-box)](https://www.npmjs.com/package/@vaadin/list-box)

```html
<vaadin-list-box selected="2">
  <b>Select an list-box</b>
  <vaadin-list-box>list-box one</vaadin-list-box>
  <vaadin-list-box>list-box two</vaadin-list-box>
  <hr />
  <vaadin-list-box>list-box three</vaadin-list-box>
  <vaadin-list-box>list-box four</vaadin-list-box>
</vaadin-list-box>
```

[<img src="https://raw.githubusercontent.com/vaadin/web-components/main/packages/list-box/screenshot.png" width="150" alt="Screenshot of vaadin-list-box">](https://vaadin.com/docs/latest/components/list-box)

## Installation

Install the component:

```sh
npm i @vaadin/list-box
```

Once installed, import the component in your application:

```js
import '@vaadin/list-box';
```

## Contributing

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.

## License

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.
