@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>