New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@polymer/paper-checkbox

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polymer/paper-checkbox

A material design checkbox

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.4K
increased by4.9%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status

Demo and API Docs

##<paper-checkbox>

Material design: Checkbox

paper-checkbox is a button that can be either checked or unchecked. User can tap the checkbox to check or uncheck it. Usually you use checkboxes to allow user to select multiple options from a set. If you have a single ON/OFF option, avoid using a single checkbox and use paper-toggle-button instead.

Example:

<paper-checkbox>label</paper-checkbox>

<paper-checkbox checked> label</paper-checkbox>

Styling

The following custom properties and mixins are available for styling:

Custom propertyDescriptionDefault
--paper-checkbox-unchecked-background-colorCheckbox background color when the input is not checkedtransparent
--paper-checkbox-unchecked-colorCheckbox border color when the input is not checked--primary-text-color
--paper-checkbox-unchecked-ink-colorSelected/focus ripple color when the input is not checked--primary-text-color
--paper-checkbox-checked-colorCheckbox color when the input is checked--primary-color
--paper-checkbox-checked-ink-colorSelected/focus ripple color when the input is checked--primary-color
--paper-checkbox-checkmark-colorCheckmark colorwhite
--paper-checkbox-label-colorLabel color--primary-text-color
--paper-checkbox-label-spacingSpacing between the label and the checkbox8px
--paper-checkbox-error-colorCheckbox color when invalid--google-red-500
--paper-checkbox-sizeSize of the checkbox18px

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 03 Feb 2016

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