The Polymer library is in maintenance mode. For new development, we recommend Lit.

You can get started with a Polymer application using one of several templates that incorporate the elements and patterns discussed here using the Polymer CLI.

To initialize a project from a template, ensure you have the Polymer CLI installed, cd into an empty project folder, and simply run the following command, which will prompt you to select from the currently available templates.

    $ polymer init

The polymer-3-element template gives you a starting point for building a reusable, publishable element. It includes a small demo page that displays your element, along with a simple example of how to use the element in markup.

The polymer-3-application template is the most basic starting point for any app built with Polymer. It starts with a single bare-bones custom element that can serve as the root of your application, from which you can build in any direction with maximum flexibility.

The polymer-3-starter-kit introduces the app-layout elements, and composes them in a common left-hand drawer arrangement with a toolbar. The template provides navigation between a series of views that load and are rendered in the main content area.

The template is also set up to use the PRPL pattern for efficient and progressive loading of the application, where views are loaded on-demand and will be pre-cached for offline and subsequent use.

The templates are starting points, and you are free to add web components discussed in the rest of the Build apps section according to the needs of your application, as well as from other sources such as the