paper-material | Vaadin

A Material Design container that looks like a lifted piece of paper

Published on NPM Build status Published on


paper-material is a container that renders two shadows on top of each other to create the effect of a lifted piece of paper.

⚠️ As of the 2.0 release, this element is deprecated in favour of the shared styles in PolymerElements/paper-styles. Please see the implementation of PolymerElements/paper-button for an example.

See: Documentation, Demo.



npm install --save @polymer/paper-material

In an html file

    <script type="module">
      import '@polymer/paper-material/paper-material.js';
    <paper-material elevation="1">
      <div>Some content</div>

In a Polymer 3 element

import {PolymerElement, html} from '@polymer/polymer';
import '@polymer/paper-material/paper-material.js';

class SampleElement extends PolymerElement {
  static get template() {
    return html`
      <paper-material elevation="1">
        <div>Some content</div>
customElements.define('sample-element', SampleElement);


If you want to send a PR to this element, here are the instructions for running the tests and demo locally:


git clone
cd paper-material
npm install
npm install -g polymer-cli

Running the demo locally

polymer serve --npm

Running the tests

polymer test --npm


Link to this version
ImportedReleased 14 September 2018BSD 3-clause "New" or "Revised" License
Framework Support
Polymer 3.0+
Also supported:
Polymer 1 (1.0.7)Polymer 2 (2.1.0)
Browser Independent
Install with
npm install @polymer/paper-material"@3.0.1"
Run the above npm command in your project folder. If you have any issues installing, please contact the author.
Release notes - Version 3.0.1


  • @polymer/polymer#^3.0.0
  • @polymer/paper-styles#^3.0.0-pre.26