JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q14984F
  • License ISC

A clickable component for navigation.

Package Exports

  • @nodestrap/nav-button
  • @nodestrap/nav-button/dist/NavButton.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nodestrap/nav-button) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

<NavButton></NavButton>

A clickable component for navigation.

Preview

<NavButton tag='a' theme='primary' size='lg' gradient={true} outlined={true} press={true} onClick={() => alert('hello world')} >
    <Link to='about'>
        click me
    </Link>
</NavButton>

Rendered to:

<a class="c1 thPrimary szLg gradient outlined pressed">
    click me
</a>

Features

Installation

Using npm:

npm i @nodestrap/nav-button

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]