Co-authored-by: Joren Broekema <Joren.Broekema@ing.com> Co-authored-by: Alex Ghiu <Alex.Ghiu@ing.com> Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com> |
||
|---|---|---|
| .. | ||
| src | ||
| stories | ||
| test | ||
| CHANGELOG.md | ||
| index.js | ||
| lion-select.js | ||
| package.json | ||
| README.md | ||
Select
lion-select component is a wrapper around the native select.
Live Demo/Documentation
See our storybook for a live demo and API documentation
How to use
Installation
npm i --save @lion/select
import '@lion/select/lion-select.js';
Example
<lion-select name="favoriteColor" label="Favorite color">
<select slot="input">
<option selected hidden value>Please select</option>
<option value="red">Red</option>
<option value="hotpink">Hotpink</option>
<option value="teal">Teal</option>
</select>
</lion-select>