@heycar-uikit/dropdown
v4.0.1
Published
HeyCar-UIKit Dropdown
Downloads
8
Maintainers
Readme
HeyCar-UIKit - Dropdown
The Dropdown components use element to create a drop-down list. The element is most often used in a form, to collect user input.
Installation
To install and save in your package.json dependencies, run the command below using npm:
npm install @heycar-uikit/dropdown
Usage
import Dropdown from '@heycar-uikit/dropdown';
function App() {
return (
<div>
<Dropdown id="marque" labelFor="marque" label="Marque label">
<option value="Marque">Marque</option>
<option value="saab">Saab</option>
<option value="opel">Opel</option>
<option value="audi">Audi</option>
</Dropdown>
</div>
);
}
Documentation and sandbox
Storybook documentation and sandbox