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. 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 Salesforce1. Components in
this namespace support multiple styling mechanism, and are usually more complex.