Newer Version Available
Configure Components for Custom Tabs
Add the force:appHostable
interface to a Lightning component to
allow it to be used as a custom tab in Lightning Experience or Salesforce1.
Components that implement this interface can be used to create tabs in both Lightning Experience and Salesforce1.
Example Component
1<!--simpleTab.cmp-->
2<aura:component implements="force:appHostable">
3
4 <!-- Simple tab content -->
5
6 <h1>Lightning Component Tab</h1>
7
8</aura:component>The appHostable interface makes the component available for use as a custom tab. It doesn’t require you to add anything else to the component.