Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 717 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 717 Bytes

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>