Components
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.
Action and menu components trigger an action when you click them.
Container components group related content together.
Visual components display images, icons, and other visual elements.
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
Form components help users create, edit, and view records.
Navigation components help users move between pages.
Status and notification components deliver information and insights.
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 components convey the progress of a process.
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.