Lightning page templates, regions, and form factors
Key Takeaway
A Lightning page's template decides its regions and its form factors (desktop, phone). Those form factors limit the components you can add, the devices you can assign the page to, and the templates you can switch it to.
A Lightning page is a custom layout for Lightning Experience or the Salesforce mobile app. A Lightning page template sets that layout by dividing the page into regions, and each region holds components. When you create a page in the Lightning App Builder, you pick a template that matches the device you are designing for, such as desktop or phone. You then drop components into those regions.
Page types and the form factors of their templates
The three main page types are app pages, Home pages, and record pages. An app page is a home page for an app. A template controls how its page displays on each device, so form factor support depends on the template.
| Page type | Where it runs | Form factors |
|---|---|---|
| App page | You add it to the Salesforce mobile app and Lightning Experience navigation menus | Standard app page templates support both desktop and phone |
| Home page | Custom Home pages run only in Lightning Experience | Home page templates are desktop-only |
| Record page | Custom record pages run in both Lightning Experience and the Salesforce mobile app | Standard record page templates support both desktop and phone, except the pinned region templates, which are desktop-only |