@nodestrap/action-control

A generic element with press/release state.

Usage no npm install needed!

<script type="module">
  import nodestrapActionControl from 'https://cdn.skypack.dev/@nodestrap/action-control';
</script>

README

<ActionControl />

A generic element with press/release state.

Preview

<ActionControl tag='button' theme='primary' size='lg' gradient={true} outlined={true} press={true} >
    hello world
</ActionControl>

Rendered to:

<button class="c1 thPrimary szLg gradient outlined pressed">
    hello world
</button>

Features

Installation

Using npm:

npm i @nodestrap/action-control

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]