@nodestrap/button

A clickable component for initiating an action.

Usage no npm install needed!

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

README

<Button></Button>

A clickable component for initiating an action.

Preview

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

Rendered to:

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

Features

Installation

Using npm:

npm i @nodestrap/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]