Newer Version Available

This content describes an older version of this product. View Latest

Component Library

The Lightning Component Library is your hub for Lightning UI developer information, including the Component Reference with live examples, the Lightning Web Components developer guide, and Lightning Locker tools.
You can find the Component Library in two places: a public site and an authenticated one that’s linked to your Salesforce org. In the authenticated site, the Component Reference section of the Component Library has some additional features.
Public Component Library
View this site without logging in to Salesforce. The Component Reference includes documentation and reference information for the base components.

https://developer.salesforce.com/docs/component-library

Component Library for your org
View this site by logging in to your Salesforce org and navigating to https://<myDomain>/docs/component-library. Alternatively, click Link to your org at the top right on the public site.
The authenticated site has additional features for the Component Reference.
  • View Lightning components that are unique to your org.
  • View Lightning components that are installed in a managed package. You can filter to view components owned by your org or installed in packages.
  • Use the global search feature to find documentation across the Component Reference and Lightning Web Components Developer Guide.

See Lightning Component Library in the Lightning Web Components Developer Guide for more information and known issues in the Component Reference.

Visit the Component Library for an interactive experience.

JavaScript API Documentation

For JavaScript API documentation, see JavaScript API.

The legacy reference doc app, which used to contain the JavaScript API documentation, has been retired.