Add Components as Custom Tabs in a Lightning Experience App
Make a Lightning web component available in a custom tab, so that it’s accessible in Lightning Experience, both on desktop and in the Salesforce mobile app.
To configure a Lightning web component to be used as a custom tab, see Configure Components for Custom Tabs.
To include your component in a Lightning Experience app and make it available to desktop and mobile users in your org, follow these steps.
-
Create a custom tab for the component.
-
From Setup, enter
Tabs
in the Quick Find box, then select Tabs. -
Click New in the Lightning Component Tabs related list.
-
Select the Lightning component that you want to make available to users.
-
Enter a label to display on the tab.
-
Select the tab style and click Next.
-
When prompted to add the tab to profiles, accept the default and click Save.
Your Lightning component is now available from the All Items section of the App Launcher on desktop, and the All Items navigation menu item in the Salesforce mobile app.
-
-
Add your Lightning component to a Lightning app’s navigation.
-
From Setup, enter
Apps
in the Quick Find box, then select App Manager. -
Edit an existing app or create an app.
-
On the Navigation Items screen, select your Lightning component tab from the Available Items list and move it to the Selected Items list.
-
Save the app.
-
-
Check your output.
-
Navigate to the App Launcher in Lightning Experience on desktop or in the Salesforce mobile app.
-
Search for the custom app name and click it.
-
See the component that you added.
-