@nodestrap/dropdown-button

A button combined with a generic dropdown.

Usage no npm install needed!

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

README

<DropdownButton></DropdownButton>

A button combined with a generic dropdown.

Preview

<DropdownButton' theme='primary' size='lg' gradient={true} outlined={true} buttonChildren='Show menu'>
    hello world
</DropdownButton>

Rendered to:

<button class="c1 thPrimary szLg gradient outlined">
    Show menu
</button>
<div class="c2 thPrimary szLg gradient outlined">
    hello world
</div>

Features

Installation

Using npm:

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