lion/packages/select/README.md
2020-01-23 18:24:38 +01:00

717 B

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>