@impact-x/select
Select component for products using Impact X design system.
Installation
To install @impact-x/select in your project, run the following command:
npm install -S @impact-x/select
If you prefer Yarn, use the following command instead:
yarn add @impact-x/select
Usage
HTML (via CDN)
If you're using a simple HTML page without any JavaScript framework, you can add your component via a script tag.
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://unpkg.com/@impact-x/select@latest"></script>
</head>
<body>
<ix-select control-id="select">
<option value="value 1">Option 1</option>
<option value="value 2" selected>Option 2</option>
<option value="value 3">Option 3</option>
</ix-select>
</body>
</html>
API documentation
https://tw-impact-x.thoughtworks-labs.net/#/Components/Forms/Select