Lightning Web Components

A Blazing Fast, Enterprise-Grade Web Components Foundation

To install Lightning Web Components and create your first app, use the open source create-lwc-app tool.
$ npx create-lwc-app my-app
$ cd my-app
$ npm run watch
The npx tool installs with npm 5.2+. See Installation.
Learn the fundamentals of LWC and harness the full power of Web Components.

Lightning Fast

Lean, 7kb runtime optimized for performance, with minimal boilerplate code.


Lightning Web Components uses standard HTML, modern JavaScript (ES6+), and the best of native Web Components.

Easy to Learn

Leave abstractions behind and build custom elements with HTML, JavaScript, and CSS.

Get Started with Lightning Web Components

Lightning web components are custom elements built using HTML and modern JavaScript. Ready to learn more? Check out the Developer Guide and write code in the Playground. You’ll be up and running in no time.

Build Lightning Web Components Anywhere

Learn Once, Build Anywhere

Create fast, versatile web components and apps using the stack and tools your team prefers.

Drive the Roadmap, Define the Future

Shape the framework through your pull requests and help push native Web Components forward.

Web Standards Based, Enterprise Inspired

Use the latest web standards to build robust components that run in modern browsers and IE 11.