LitElement is now part of the Lit library–see the new site at lit.dev. This site documents LitElement 2.0, no longer the current version.

Introduction

What is LitElement?

LitElement is a simple base class for creating fast, lightweight web components that work in any web page with any framework.

LitElement uses lit-html to render into shadow DOM, and adds API to manage properties and attributes. Properties are observed by default, and elements update asynchronously when their properties change.

Next steps