Directory

← Back

wired-elements

Collection of custom elements that appear hand drawn. Great for wireframes or a fun look.

Author

Rating

Popularity

<100

wired radio

wired-radio

Hand-drawn sketchy radio button web component. Usually used with wired-radio-group.

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

Usage

Add wired-radio to your project:

npm i wired-radio

Import wired-radio definition into your HTML page:

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

Or into your module script:

import { WiredRadio } from "wired-radio"

Use it in your web page:

<wired-radio>Radio One</wired-radio>
<wired-radio checked>Radio Two</wired-radio>
<wired-radio disabled>Disabled Radio</wired-radio>

Properties

checked - Checked state (boolean) of the radio button. Default is false.

disabled - disables the radio button. Default value is false.

text - Text associated with the radio button.

name - A name associated with the radio inside a radio-group.

Custom CSS Variables

--wired-radio-icon-color Color of the radio button. Default is currentColor.

Events

change - event fired when state of the radio changes, i.e. the user checks/unchecks the radio.

License

MIT License (c) Preet Shihn

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

  • wired-button#^0.6.0
  • wired-card#^0.6.0
  • wired-checkbox#^0.6.0
  • wired-combo#^0.6.0
  • wired-icon-button#^0.6.0
  • wired-input#^0.6.3
  • wired-item#^0.6.0
  • wired-lib#^0.6.0
  • wired-listbox#^0.6.0
  • wired-progress#^0.6.0
  • wired-radio#^0.6.0
  • wired-radio-group#^0.6.3
  • wired-slider#^0.6.0
  • wired-textarea#^0.6.0
  • wired-toggle#^0.6.0
  • wired-tooltip#^0.6.0
Released
2018-06-05
Maturity
IMPORTED
License
MIT License

Compatibility

Framework
Polymer 3.0+ in 0.5.4
Browser
Browser Independent

wired-elements - Vaadin Add-on Directory

Collection of custom elements that appear hand drawn. Great for wireframes or a fun look. wired-elements - Vaadin Add-on Directory
![wired radio](https://wiredjs.github.io/wired-elements/images/radio.gif) # wired-radio Hand-drawn sketchy radio button web component. Usually used with [wired-radio-group](https://github.com/wiredjs/wired-elements/tree/master/packages/wired-radio-group). For demo and view the complete set of wired-elememts: [wiredjs.com](http://wiredjs.com/) ## Usage Add wired-radio to your project: ``` npm i wired-radio ``` Import wired-radio definition into your HTML page: ```html ``` Or into your module script: ```javascript import { WiredRadio } from "wired-radio" ``` Use it in your web page: ```html Radio One Radio Two Disabled Radio ``` ## Properties **checked** - Checked state (boolean) of the radio button. Default is false. **disabled** - disables the radio button. Default value is false. **text** - Text associated with the radio button. **name** - A name associated with the radio inside a radio-group. ## Custom CSS Variables **--wired-radio-icon-color** Color of the radio button. Default is *currentColor*. ## Events **change** - event fired when state of the radio changes, i.e. the user checks/unchecks the radio. ## License [MIT License](https://github.com/wiredjs/wired-elements/blob/master/LICENSE) (c) [Preet Shihn](https://twitter.com/preetster)
View on NPM
View on GitHub

wired-elements version 0.1.0
### Dependencies * wired-lib#wiredjs/wired-lib#^0.1.1 * wired-button#wiredjs/wired-button#^0.1.2 * wired-checkbox#wiredjs/wired-checkbox#^0.1.2 * wired-radio#wiredjs/wired-radio#^0.1.1 * wired-radio-group#wiredjs/wired-radio-group#^0.1.0 * wired-toggle#wiredjs/wired-toggle#^0.1.2 * wired-item#wiredjs/wired-item#^0.1.1 * wired-listbox#wiredjs/wired-listbox#^0.1.2 * wired-progress#wiredjs/wired-progress#^0.1.0 * wired-input#wiredjs/wired-input#^0.1.1 * wired-textarea#wiredjs/wired-textarea#^0.1.0 * wired-card#wiredjs/wired-card#^0.1.1 * wired-combo#wiredjs/wired-combo#^0.1.0

wired-elements version 0.1.1
### Dependencies * wired-lib#wiredjs/wired-lib#^0.1.1 * wired-button#wiredjs/wired-button#^0.1.2 * wired-checkbox#wiredjs/wired-checkbox#^0.1.2 * wired-radio#wiredjs/wired-radio#^0.1.1 * wired-radio-group#wiredjs/wired-radio-group#^0.1.0 * wired-toggle#wiredjs/wired-toggle#^0.1.2 * wired-item#wiredjs/wired-item#^0.1.1 * wired-listbox#wiredjs/wired-listbox#^0.1.2 * wired-progress#wiredjs/wired-progress#^0.1.0 * wired-input#wiredjs/wired-input#^0.1.1 * wired-textarea#wiredjs/wired-textarea#^0.1.0 * wired-card#wiredjs/wired-card#^0.1.1 * wired-combo#wiredjs/wired-combo#^0.1.0

wired-elements version 0.1.2
### Dependencies * wired-lib#wiredjs/wired-lib#^0.1.1 * wired-button#wiredjs/wired-button#^0.1.2 * wired-checkbox#wiredjs/wired-checkbox#^0.1.2 * wired-radio#wiredjs/wired-radio#^0.1.1 * wired-radio-group#wiredjs/wired-radio-group#^0.1.0 * wired-toggle#wiredjs/wired-toggle#^0.1.2 * wired-item#wiredjs/wired-item#^0.1.1 * wired-listbox#wiredjs/wired-listbox#^0.1.2 * wired-progress#wiredjs/wired-progress#^0.1.0 * wired-input#wiredjs/wired-input#^0.1.1 * wired-textarea#wiredjs/wired-textarea#^0.1.0 * wired-card#wiredjs/wired-card#^0.1.1 * wired-combo#wiredjs/wired-combo#^0.1.0

wired-elements version 0.2.0
### Dependencies * wired-lib#wiredjs/wired-lib#^0.1.1 * wired-button#wiredjs/wired-button#^0.2.0 * wired-checkbox#wiredjs/wired-checkbox#^0.2.0 * wired-radio#wiredjs/wired-radio#^0.2.0 * wired-radio-group#wiredjs/wired-radio-group#^0.1.0 * wired-toggle#wiredjs/wired-toggle#^0.2.0 * wired-item#wiredjs/wired-item#^0.1.1 * wired-listbox#wiredjs/wired-listbox#^0.2.0 * wired-progress#wiredjs/wired-progress#^0.1.0 * wired-input#wiredjs/wired-input#^0.2.0 * wired-textarea#wiredjs/wired-textarea#^0.2.0 * wired-card#wiredjs/wired-card#^0.1.1 * wired-combo#wiredjs/wired-combo#^0.2.0 * wired-icon-button#wiredjs/wired-icon-button#^0.1.1 * wired-menu-item#wiredjs/wired-menu-item#^0.1.1 * wired-menu-bar#wiredjs/wired-menu-bar#^0.1.0 * wired-slider#wiredjs/wired-slider#^0.1.0 * wired-tooltip#wiredjs/wired-tooltip#^0.1.2 * wired-spinner#wiredjs/wired-spinner#^0.1.0

wired-elements version 0.2.1
### Dependencies * wired-lib#wiredjs/wired-lib#^0.1.1 * wired-button#wiredjs/wired-button#^0.2.0 * wired-checkbox#wiredjs/wired-checkbox#^0.2.0 * wired-radio#wiredjs/wired-radio#^0.2.0 * wired-radio-group#wiredjs/wired-radio-group#^0.1.0 * wired-toggle#wiredjs/wired-toggle#^0.2.0 * wired-item#wiredjs/wired-item#^0.1.1 * wired-listbox#wiredjs/wired-listbox#^0.2.0 * wired-progress#wiredjs/wired-progress#^0.1.0 * wired-input#wiredjs/wired-input#^0.2.0 * wired-textarea#wiredjs/wired-textarea#^0.2.0 * wired-card#wiredjs/wired-card#^0.1.1 * wired-combo#wiredjs/wired-combo#^0.2.0 * wired-icon-button#wiredjs/wired-icon-button#^0.1.1 * wired-menu-item#wiredjs/wired-menu-item#^0.1.1 * wired-menu-bar#wiredjs/wired-menu-bar#^0.1.0 * wired-slider#wiredjs/wired-slider#^0.1.0 * wired-tooltip#wiredjs/wired-tooltip#^0.1.2 * wired-spinner#wiredjs/wired-spinner#^0.1.0

wired-elements version 0.2.2
### Dependencies * wired-lib#wiredjs/wired-lib#^0.1.1 * wired-button#wiredjs/wired-button#^0.2.0 * wired-checkbox#wiredjs/wired-checkbox#^0.2.0 * wired-radio#wiredjs/wired-radio#^0.2.0 * wired-radio-group#wiredjs/wired-radio-group#^0.1.0 * wired-toggle#wiredjs/wired-toggle#^0.2.0 * wired-item#wiredjs/wired-item#^0.1.1 * wired-listbox#wiredjs/wired-listbox#^0.2.0 * wired-progress#wiredjs/wired-progress#^0.1.0 * wired-input#wiredjs/wired-input#^0.2.0 * wired-textarea#wiredjs/wired-textarea#^0.2.0 * wired-card#wiredjs/wired-card#^0.1.1 * wired-combo#wiredjs/wired-combo#^0.2.0 * wired-icon-button#wiredjs/wired-icon-button#^0.1.1 * wired-menu-item#wiredjs/wired-menu-item#^0.1.1 * wired-menu-bar#wiredjs/wired-menu-bar#^0.1.0 * wired-slider#wiredjs/wired-slider#^0.1.0 * wired-tooltip#wiredjs/wired-tooltip#^0.1.2 * wired-spinner#wiredjs/wired-spinner#^0.1.0

wired-elements version 0.2.3
### Dependencies * wired-lib#wiredjs/wired-lib#^0.1.1 * wired-button#wiredjs/wired-button#^0.2.0 * wired-checkbox#wiredjs/wired-checkbox#^0.2.0 * wired-radio#wiredjs/wired-radio#^0.2.0 * wired-radio-group#wiredjs/wired-radio-group#^0.1.0 * wired-toggle#wiredjs/wired-toggle#^0.2.0 * wired-item#wiredjs/wired-item#^0.1.1 * wired-listbox#wiredjs/wired-listbox#^0.2.0 * wired-progress#wiredjs/wired-progress#^0.1.0 * wired-input#wiredjs/wired-input#^0.2.0 * wired-textarea#wiredjs/wired-textarea#^0.2.0 * wired-card#wiredjs/wired-card#^0.1.1 * wired-combo#wiredjs/wired-combo#^0.2.0 * wired-icon-button#wiredjs/wired-icon-button#^0.1.1 * wired-menu-item#wiredjs/wired-menu-item#^0.1.1 * wired-menu-bar#wiredjs/wired-menu-bar#^0.1.0 * wired-slider#wiredjs/wired-slider#^0.1.0 * wired-tooltip#wiredjs/wired-tooltip#^0.1.2 * wired-spinner#wiredjs/wired-spinner#^0.1.0

wired-elements version 0.5.0
### Dependencies * @polymer/lit-element#^0.5.1 * wired-lib#^0.5.1

wired-elements version 0.5.1
### Dependencies * @polymer/lit-element#^0.5.1 * wired-lib#^0.5.1

wired-elements version 0.5.3
### Dependencies * @polymer/lit-element#^0.5.1 * wired-lib#^0.5.1

wired-elements version 0.5.4
### Dependencies * @polymer/lit-element#^0.5.1 * @polymer/polymer#^3.0.2 * wired-lib#^0.5.1

wired-elements version 0.5.5
### Dependencies * @polymer/lit-element#^0.5.1 * @polymer/polymer#^3.0.2 * wired-lib#^0.5.1

wired-elements version 0.5.2
### Dependencies * @polymer/lit-element#^0.5.1 * wired-lib#^0.5.1

wired-elements version 0.5.6
### Dependencies * @polymer/lit-element#^0.5.1 * @polymer/polymer#^3.0.2 * wired-lib#^0.5.1

wired-elements version 0.5.7
### Dependencies * wired-button#^0.5.2 * wired-card#^0.5.2 * wired-checkbox#^0.5.1 * wired-combo#^0.5.1 * wired-icon-button#^0.5.2 * wired-input#^0.5.2 * wired-item#^0.5.0 * wired-lib#^0.5.1 * wired-listbox#^0.5.1 * wired-progress#^0.5.1 * wired-radio#^0.5.2 * wired-radio-group#^0.5.0 * wired-slider#^0.5.6 * wired-textarea#^0.5.1 * wired-toggle#^0.5.1 * wired-tooltip#^0.5.1

wired-elements version 0.5.8
### Dependencies * wired-button#^0.5.2 * wired-card#^0.5.2 * wired-checkbox#^0.5.1 * wired-combo#^0.5.2 * wired-icon-button#^0.5.2 * wired-input#^0.5.2 * wired-item#^0.5.0 * wired-lib#^0.5.1 * wired-listbox#^0.5.1 * wired-progress#^0.5.1 * wired-radio#^0.5.2 * wired-radio-group#^0.5.0 * wired-slider#^0.5.6 * wired-textarea#^0.5.2 * wired-toggle#^0.5.1 * wired-tooltip#^0.5.1

wired-elements version 0.6.0
### Dependencies * @polymer/lit-element#^0.5.1 * wired-lib#^0.6.0

wired-elements version 0.6.1
### Dependencies * wired-button#^0.6.0 * wired-card#^0.6.0 * wired-checkbox#^0.6.0 * wired-combo#^0.6.0 * wired-icon-button#^0.6.0 * wired-input#^0.6.0 * wired-item#^0.6.0 * wired-lib#^0.6.0 * wired-listbox#^0.6.0 * wired-progress#^0.6.0 * wired-radio#^0.6.0 * wired-radio-group#^0.6.0 * wired-slider#^0.6.0 * wired-textarea#^0.6.0 * wired-toggle#^0.6.0 * wired-tooltip#^0.6.0

wired-elements version 0.6.2
### Dependencies * wired-button#^0.6.0 * wired-card#^0.6.0 * wired-checkbox#^0.6.0 * wired-combo#^0.6.0 * wired-icon-button#^0.6.0 * wired-input#^0.6.0 * wired-item#^0.6.0 * wired-lib#^0.6.0 * wired-listbox#^0.6.0 * wired-progress#^0.6.0 * wired-radio#^0.6.0 * wired-radio-group#^0.6.0 * wired-slider#^0.6.0 * wired-textarea#^0.6.0 * wired-toggle#^0.6.0 * wired-tooltip#^0.6.0

wired-elements version 0.6.3
### Dependencies * @polymer/lit-element#^0.5.1 * wired-lib#^0.6.0

wired-elements version 0.6.4
### Dependencies * wired-button#^0.6.0 * wired-card#^0.6.0 * wired-checkbox#^0.6.0 * wired-combo#^0.6.0 * wired-icon-button#^0.6.0 * wired-input#^0.6.3 * wired-item#^0.6.0 * wired-lib#^0.6.0 * wired-listbox#^0.6.0 * wired-progress#^0.6.0 * wired-radio#^0.6.0 * wired-radio-group#^0.6.3 * wired-slider#^0.6.0 * wired-textarea#^0.6.0 * wired-toggle#^0.6.0 * wired-tooltip#^0.6.0

wired-elements version 0.6.5
### Dependencies * @polymer/lit-element#^0.5.2 * wired-lib#^0.6.0

wired-elements version 0.6.6
### Dependencies * @polymer/lit-element#^0.5.2 * wired-lib#^0.6.0

wired-elements version 0.6.7
### Dependencies * wired-button#^0.6.5 * wired-card#^0.6.5 * wired-checkbox#^0.6.5 * wired-combo#^0.6.5 * wired-icon-button#^0.6.5 * wired-input#^0.6.6 * wired-item#^0.6.5 * wired-lib#^0.6.0 * wired-listbox#^0.6.5 * wired-progress#^0.6.5 * wired-radio#^0.6.5 * wired-radio-group#^0.6.5 * wired-slider#^0.6.5 * wired-textarea#^0.6.5 * wired-toggle#^0.6.5 * wired-tooltip#^0.6.5

wired-elements version 0.7.0
### Dependencies * @polymer/lit-element#^0.5.2 * wired-lib#^0.6.0

wired-elements version 0.7.1
### Dependencies * wired-button#^0.7.0 * wired-card#^0.6.5 * wired-checkbox#^0.7.0 * wired-combo#^0.7.1 * wired-icon-button#^0.7.0 * wired-input#^0.6.6 * wired-item#^0.6.5 * wired-lib#^0.6.0 * wired-listbox#^0.7.1 * wired-progress#^0.6.5 * wired-radio#^0.7.0 * wired-radio-group#^0.7.1 * wired-slider#^0.7.0 * wired-textarea#^0.6.5 * wired-toggle#^0.7.0 * wired-tooltip#^0.6.5

wired-elements version 0.7.2
### Dependencies * wired-button#^0.7.0 * wired-card#^0.6.5 * wired-checkbox#^0.7.0 * wired-combo#^0.7.1 * wired-icon-button#^0.7.0 * wired-input#^0.6.6 * wired-item#^0.6.5 * wired-lib#^0.6.0 * wired-listbox#^0.7.2 * wired-progress#^0.6.5 * wired-radio#^0.7.0 * wired-radio-group#^0.7.1 * wired-slider#^0.7.0 * wired-textarea#^0.6.5 * wired-toggle#^0.7.0 * wired-tooltip#^0.6.5

wired-elements version 0.8.0
### Dependencies * @polymer/lit-element#^0.6.1 * wired-lib#^0.6.0

wired-elements version 0.8.0-0
### Dependencies * @polymer/lit-element#^0.6.1 * wired-lib#^0.6.0

wired-elements version 0.8.1
### Dependencies * wired-button#^0.8.0 * wired-card#^0.8.1 * wired-checkbox#^0.8.0 * wired-combo#^0.8.1 * wired-icon-button#^0.8.0 * wired-input#^0.8.0 * wired-item#^0.8.1 * wired-lib#^0.6.0 * wired-listbox#^0.8.1 * wired-progress#^0.8.0 * wired-radio#^0.8.0 * wired-radio-group#^0.8.1 * wired-slider#^0.8.0 * wired-textarea#^0.8.0 * wired-toggle#^0.8.0 * wired-tooltip#^0.8.0

wired-elements version 0.8.2
### Dependencies * @polymer/lit-element#^0.6.1 * wired-lib#^0.6.0

wired-elements version 0.9.0-0
### Dependencies * lit-element#^2.0.1 * wired-lib#^0.9.0-0

wired-elements version 0.9.0-1
### Dependencies * lit-element#^2.0.1 * wired-lib#^0.9.0-1

wired-elements version 0.9.0
### Dependencies * wired-lib#^0.9.0

wired-elements version 0.9.1
### Dependencies * wired-lib#^0.9.0

wired-elements version 1.0.0
### Dependencies * wired-lib#^1.0.0

wired-elements version 1.0.0-alpha.0
### Dependencies * wired-lib#^1.0.0-alpha.0

Online