Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

wired-icon-button

v1.0.0arrow_drop_down
v1.0.0
v0.9.2
STATUS
Passing
DOWNLOADS
13
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 months ago
SIZE
13 KB
subject
This is a hand-drawn sketchy round button with an image placed at the center.
1 contributor
Use wired-icon-button in your project ?
Copied
npm i @bit/wiredjs.wired-elements.wired-icon-button
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
revert changes
reload
toggle layout
maximize
modifieddraft
chevron_left
chevron_right

wired icon button

wired-icon-button

This is a hand-drawn sketchy round button with an image placed at the center. Image could also be in icon, more specifically an icon as as @material/mwc-icon.

For demo and view the complete set of wired-elememts: wiredjs.com

Usage

Add wired-icon-button to your project:

npm i wired-icon-button

Import wired-icon-button definition into your HTML page:

<script type="module" src="wired-icon-button/lib/wired-icon-button.js"></script>

Or into your module script:

import { WiredIconButton } from "wired-icon-button"

Use it in your web page:

<wired-icon-button>favorite</wired-icon-button>
<wired-icon-button class="red">favorite</wired-icon-button>

Properties

disabled - disables the button. Default value is false.

Custom CSS Variables

–wired-icon-size Numeric size of the icon. Default is 24 (px).

–wired-icon-bg-color Background color.

Events

click - When button is clicked/submitted

License

MIT License © Preet Shihn