Package Exports
- @nodestrap/button-icon
- @nodestrap/button-icon/dist/ButtonIcon.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/button-icon) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
<ButtonIcon></ButtonIcon>
A button with a nice icon for initiating an action.
Preview
<ButtonIcon tag='a' icon='instagram' theme='primary' size='lg' gradient={true} outlined={true} press={true} onClick={() => alert('hello world')} >
click me
</ButtonIcon>Rendered to:
<a class="c1 thPrimary szLg gradient outlined pressed" style="--v59:url("/icons/instagram.svg");">
click me
</a>Features
- Includes all features in
<Button />. - Includes all features in
<Icon />. - Customizable via
@cssfn/css-config.
Installation
Using npm:
npm i @nodestrap/button-iconSupport 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.