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

1.7.4 • Public • Published

@impact-x/nav

Nav web component for products using the Impact X design system.

Installation

To install @impact-x/nav in your project, run the following command:

npm install -S @impact-x/nav

If you prefer yarn, use the following command instead:

yarn add @impact-x/nav

Usage

HTML (via CDN)

If you're using a simple HTML page without a JavaScript framework, you can add your component via a script tag.

<!DOCTYPE html>
<html lang="en">
  <head>
    <script src="https://unpkg.com/@impact-x/nav@latest"></script>
  </head>
  <body>
    <ix-nav variant="primary">
      <ol>
        <li><a href="">nav text</a></li>
        <li><a href="">nav text</a></li>
        <li><a href="">nav text</a></li>
      </ol>
    </ix-nav>
  </body>
</html>

API documentation

https://tw-impact-x.thoughtworks-labs.net/#/Components/Nav

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.7.4
    24
    • latest

Version History

Package Sidebar

Install

npm i @impact-x/nav

Weekly Downloads

180

Version

1.7.4

License

MIT

Unpacked Size

1.09 MB

Total Files

59

Last publish

Collaborators

  • hannahbourke
  • tw-design-system