Directory

← Back

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.

Author

Rating

Popularity

<100

[ This description is mirrored from README.md at github.com/wiredjs/wired-icon-button on 2019-05-22 ]

wired icon

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

Learn about web components here.

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/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.

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Dependencies

  • polymer#Polymer/polymer#^2.0.0
  • iron-icon#^2.0.1
  • wired-lib#wiredjs/wired-lib#^0.1.1
Released
2017-08-31
Maturity
IMPORTED
License
MIT License

Compatibility

Framework
Polymer 2.0+
Browser
Browser Independent

wired-icon-button - Vaadin Add-on Directory

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. wired-icon-button - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/wiredjs/wired-icon-button](https://github.com//wiredjs/wired-icon-button/blob/v0.5.1/README.md) on 2019-05-22 ]** ![wired icon](https://wiredjs.github.io/wired-elements/images/icon-button.png) # 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](https://www.npmjs.com/package/@material/mwc-icon). For demo and view the complete set of wired-elememts: [wiredjs.com](http://wiredjs.com/) Learn about web components [here](https://www.webcomponents.org/introduction). ## Usage Add wired-icon-button to your project: ``` npm i wired-icon-button ``` Import wired-icon-button definition into your HTML page: ```html ``` Or into your module script: ```javascript import { WiredIconButton } from "wired-icon-button" ``` Use it in your web page: ```html favorite favorite ``` ### 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.
Online