Home

Awesome

Google Web Components Style Guide

This guide serves as an extension to the Google JavaScript Style Guide with additional style guidance around authoring Web Components, particuarly those in this element collection. It is targeted at Google engineers, but may be useful for others too :)

General conventions

Naming

Attributes

Events

Variables

Methods

Tests

Assets

Polymer-specific recommendations

Licensing

Note, that this section is mostly relevant to Google engineers working on elements and follows current requirements around open-source projects.