lion/packages/select
CircleCI 455923278e chore: release new versions
- @lion/checkbox-group@0.6.0
 - @lion/checkbox@0.3.10
 - @lion/choice-input@0.6.0
 - @lion/field@0.9.0
 - @lion/fieldset@0.7.0
 - @lion/form-system@0.4.0
 - @lion/form@0.4.10
 - @lion/input-amount@0.5.10
 - @lion/input-date@0.5.10
 - @lion/input-datepicker@0.8.13
 - @lion/input-email@0.5.10
 - @lion/input-iban@0.5.11
 - @lion/input-range@0.2.10
 - @lion/input@0.5.10
 - @lion/option@0.5.0
 - @lion/radio-group@0.6.0
 - @lion/radio@0.4.0
 - @lion/select-rich@0.10.0
 - @lion/select@0.5.10
 - @lion/switch@0.5.12
 - @lion/textarea@0.5.11
2020-02-06 15:10:19 +00:00
..
src feat: remove all deprecations from lion 2019-11-13 11:00:48 +01:00
stories feat: improved storybook demos 2020-01-13 13:58:03 +01:00
test feat: integrate and pass automated a11y testing 2019-12-03 15:15:01 +01:00
CHANGELOG.md chore: release new versions 2020-02-06 15:10:19 +00:00
index.js feat: release inital public lion version 2019-04-26 10:37:57 +02:00
lion-select.js feat: release inital public lion version 2019-04-26 10:37:57 +02:00
package.json chore: release new versions 2020-02-06 15:10:19 +00:00
README.md fix: update links in stories 2020-01-23 18:24:38 +01:00

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>