@impact-x/select
TypeScript icon, indicating that this package has built-in type declarations

0.11.27 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @impact-x/select

Weekly Downloads

289

Version

0.11.27

License

MIT

Unpacked Size

1.08 MB

Total Files

70

Last publish

Collaborators

  • hannahbourke
  • tw-design-system