Newer Version Available

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

Component Reference

Use out-of-the-box components for Lightning Experience, Salesforce1, or for your Lightning apps. 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 in Lightning Experience and Salesforce1. 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.
ui
Provides an older implementation of user interface components that don’t match the look and feel of Lightning Experience and Salesforce1. Components in this namespace support multiple styling mechanism, and are usually more complex.