@impact-x/nav
v1.7.4
Published
Nav web component for products using the _Impact X_ design system.
Downloads
58
Readme
@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/navIf you prefer yarn, use the following command instead:
yarn add @impact-x/navUsage
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
