@nodestrap/nav

A navigation component to navigate between pages.

Usage no npm install needed!

<script type="module">
  import nodestrapNav from 'https://cdn.skypack.dev/@nodestrap/nav';
</script>

README

<Nav></Nav>

A navigation component to navigate between pages.

Preview

<Nav theme='primary' size='lg' gradient={true} outlined={true}>
    <Item href='/'>Home</ListItem>
    <Item href='/blogs' active={true}>Blogs</ListItem>
    <Item href='/notes' theme='success'>Notes</ListItem>
    <Item href='/about'>About</ListItem>
    // ...
</Nav>

Rendered to:

<nav class="c1 thPrimary szLg gradient outlined">
    <div>/* ... */</div>
    <div>/* ... */</div>
    <div>/* ... */</div>
</nav>

Features

Installation

Using npm:

npm i @nodestrap/nav

Support Us

If you feel our lib is useful for your projects,
please make a donation to avoid our project from extinction.

We always maintain our projects as long as we're still alive.

[Make a donation]