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

@polymer/paper-card

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-card

Material design piece of paper with unique related data

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Build Status

Demo and API Docs

##<paper-card>

Material design: Cards

paper-card is a container with a drop shadow.

Example:

<paper-card heading="Card Title">
  <div class="card-content">Some content</div>
  <div class="card-actions">
    <paper-button>Some action</paper-button>
  </div>
</paper-card>

Example - top card image:

<paper-card heading="Card Title" image="/path/to/image.png">
  ...
</paper-card>

Accessibility

By default, the aria-label will be set to the value of the heading attribute.

Styling

The following custom properties and mixins are available for styling:

Custom propertyDescriptionDefault
--paper-card-background-colorThe background color of the card--primary-background-color
--paper-card-header-colorThe color of the header text#000
--paper-card-headerMixin applied to the card header section{}
--paper-card-header-textMixin applied to the title in the card header section{}
--paper-card-header-imageMixin applied to the image in the card header section{}
--paper-card-header-image-textMixin applied to the text overlapping the image in the card header section{}
--paper-card-contentMixin applied to the card content section{}
--paper-card-actionsMixin applied to the card action section{}
--paper-cardMixin applied to the card{}

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