Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@polymer/paper-radio-button
Advanced tools
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>
The following custom properties and mixins are available for styling:
Custom property | Description | Default |
---|---|---|
--paper-radio-button-unchecked-background-color | Radio button background color when the input is not checked | transparent |
--paper-radio-button-unchecked-color | Radio button color when the input is not checked | --primary-text-color |
--paper-radio-button-unchecked-ink-color | Selected/focus ripple color when the input is not checked | --primary-text-color |
--paper-radio-button-checked-color | Radio button color when the input is checked | --primary-color |
--paper-radio-button-checked-ink-color | Selected/focus ripple color when the input is checked | --primary-color |
--paper-radio-button-size | Size of the radio button | 16px |
--paper-radio-button-label-color | Label color | --primary-text-color |
--paper-radio-button-label-spacing | Spacing between the label and the button | 10px |
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
.
FAQs
A material design radio button
The npm package @polymer/paper-radio-button receives a total of 4,438 weekly downloads. As such, @polymer/paper-radio-button popularity was classified as popular.
We found that @polymer/paper-radio-button demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.