Customize and extend Lightning Experience and the Salesforce mobile app with Aura components. Launch components from tabs, apps, and actions.
-
Configure Components for Custom Tabs
Add the
force:appHostableinterface to an Aura component to allow it to be used as a custom tab in Lightning Experience, the Salesforce mobile app, and Salesforce mobile web. -
Add Aura Components as Custom Tabs in a Lightning Experience App
Make your Aura components available for Lightning Experience users on desktop and in the Salesforce mobile app by displaying them in a custom tab in a Lightning Experience app.
-
Configure Components for Custom Actions
Add the
force:lightningQuickActionorforce:lightningQuickActionWithoutHeaderinterface to an Aura component to enable it to be used as a custom action in Lightning Experience or the Salesforce mobile app. You can use components that implement one of these interfaces as object-specific or global actions in both Lightning Experience and the Salesforce mobile app. -
Configure Components for Record-Specific Actions
Add the
force:hasRecordIdinterface to an Aura component to enable the component to be assigned the ID of the current record. The current record ID is useful if the component is used on a Lightning record page, as an object-specific custom action or action override in Lightning Experience or the Salesforce app, and so on. -
Create an Email as a Quick Action
In a custom component, create a button to launch the email composer with pre-populated content. To launch a record create a page with pre-populated field values, use the
lightning:pageReferenceUtilsandlightning:navigationcomponents together. -
Override Standard Actions with Aura Components
Add the
lightning:actionOverrideinterface to an Aura component to enable the component to be used to override a standard action on an object. You can override standard actions on most standard and all custom components. Overriding standard actions allows you to customize your org using Lightning components, including completely customizing the way you view, create, and edit records.