Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@polymer/paper-radio-button

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polymer/paper-radio-button

A material design radio button

  • 1.3.1-pre.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.4K
decreased by-31.64%
Maintainers
1
Weekly downloads
 
Created
Source

Build status

Demo and API docs

##<paper-radio-button>

Material design: Radio button

paper-radio-button is a button that can be either checked or unchecked. User can tap the radio button to check or uncheck it.

Use a <paper-radio-group> to group a set of radio buttons. When radio buttons are inside a radio group, exactly one radio button in the group can be checked at any time.

Example:

<paper-radio-button></paper-radio-button>
<paper-radio-button>Item label</paper-radio-button>

Styling

The following custom properties and mixins are available for styling:

Custom propertyDescriptionDefault
--paper-radio-button-unchecked-background-colorRadio button background color when the input is not checkedtransparent
--paper-radio-button-unchecked-colorRadio button color when the input is not checked--primary-text-color
--paper-radio-button-unchecked-ink-colorSelected/focus ripple color when the input is not checked--primary-text-color
--paper-radio-button-checked-colorRadio button color when the input is checked--primary-color
--paper-radio-button-checked-ink-colorSelected/focus ripple color when the input is checked--primary-color
--paper-radio-button-sizeSize of the radio button16px
--paper-radio-button-label-colorLabel color--primary-text-color
--paper-radio-button-label-spacingSpacing between the label and the button10px

This element applies the mixin --paper-font-common-base but does not import paper-styles/typography.html. In order to apply the Roboto font to this element, make sure you've imported paper-styles/typography.html.

Keywords

FAQs

Package last updated on 19 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc