Newer Version Available
Component Reference
Use out-of-the-box components for Lightning Experience, Salesforce mobile app, or
for your Lightning apps.
The reference documentation is available in the Component Library at the
following links.
- As an unauthenticated experience at developer.salesforce.com/docs/component-library
- As an authenticated experience at https://<myDomain>.lightning.force.com/componentReference/suite.app, where <myDomain> is the name of your custom Salesforce domain
These components belong to different namespaces, including:
- aura
- Provides components that are part of the framework’s building blocks.
- force
- Provides components for field- and record-specific implementations.
- forceChatter
- Provides components for the Chatter feed.
- forceCommunity
- Provides components for Communities.
- lightning
- Provides components with Lightning Design System styling. For components in this namespace that are used in standalone Lightning apps, extend force:slds to implement Lightning Design System styling. In instances where there are matching ui and lightning namespace components, we recommend that you use the lightning namespace component. The lightning namespace components are optimized for common use cases. Event handling for lightning namespace components follows standard HTML practices and are simpler than that for the ui namespace components. For more information, see Event Handling in Base Lightning Components.
- ui
- Provides an older implementation of user interface components that don’t match the look and feel of Lightning Experience and the Salesforce mobile app. Components in this namespace support multiple styling mechanism, and are usually more complex.
- wave
- Provides components for Analytics Home in Lightning