An open API service indexing awesome lists of open source software.

https://github.com/bsonntag/react-listbox

A customizable, accessible and controllable select for React.
https://github.com/bsonntag/react-listbox

listbox react select

Last synced: 9 months ago
JSON representation

A customizable, accessible and controllable select for React.

Awesome Lists containing this project

README

          

# react-listbox

[![CircleCI build](https://circleci.com/gh/bsonntag/react-listbox.svg?style=svg)](https://circleci.com/gh/bsonntag/react-listbox)

A customizable, accessible and controllable listbox component for React.

## Installation

Using npm:

```sh
npm install @bsonntag/react-listbox
```

Using yarn:

```sh
yarn add @bsonntag/react-listbox
```

## Usage

```js
import React from 'react';
import {
Listbox,
ListboxButton,
ListboxButtonLabel,
ListboxList,
ListboxOption,
} from '@bsonntag/react-listbox';

function Select() {
const [value, setValue] = useState();
return (





Choose one fruit
Apple
Banana
Orange


);
}
```

## Contributing

Please feel free to submit any issues or pull requests.

## License

MIT