Salesforce provides prebuilt components that use the Lightning Web Components (LWC) programming model.
Components in the lightning namespace are known as Lightning base components. They implement Salesforce Lightning Design System (SLDS) component designs and blueprints. Lightning base components include the components listed here, and the Aura components listed in Aura Components in lightning Namespace section.
Use these functional categories to help choose the right base component for your use case.
Actions and Menus
Action and menu components trigger an action when you click them.
Containers
Container components group related content together.
Images (Visuals)
Visual components display images, icons, and other visual elements.
- Avatar
- Badge
- Dynamic Icon
- Empty State (Beta)
- Helptext
- Icon
- Illustration (Beta)
- Map
- Pill
- Pill Container
Input
Input components let users enter data and can validate the input.
- Checkbox Group
- Combobox
- Dual Listbox
- File Upload
- Input
- Input Rich Text
- Radio Group
- Record Picker
- Select
- Slider
- Text Area
Forms
Form components help users create, edit, and view records.
Navigation
Navigation components help users move between pages.
Notifications
Status and notification components deliver information and insights.
Output
Output components display data that's formatted for the user's locale and language. Use them wherever you want to display data.
- Formatted Address
- Formatted Date Time
- Formatted Email
- Formatted Location
- Formatted Name
- Formatted Number
- Formatted Phone
- Formatted Rich Text
- Formatted Text
- Formatted Time
- Formatted URL
- Relative Date Time
Progress
Progress components convey the progress of a process.
Tables and Trees
Table and tree components can display a large amount of formatted record data. Tree components can show hierarchy with rows that you can expand and collapse.
Third-Party UI
Embed your web apps directly in a Salesforce page.