Salesforce Dictionary - Free Salesforce GlossarySalesforce Dictionary
Full Lightning Types entry
How-to guide

Pick the right Lightning Type for a build

The decision tree is straightforward once you know what each type does. Pick the type that matches the use case; mixing types creates complexity.

By Dipojjal Chakrabarti · Founder & Editor, Salesforce DictionaryLast updated May 21, 2026

The decision tree is straightforward once you know what each type does. Pick the type that matches the use case; mixing types creates complexity.

  1. Custom UI component

    Use Lightning Web Component for new builds. Aura only for maintenance of existing components.

  2. Top-level app

    Create a Lightning App via App Manager. Configure brand, navigation, utility bar.

  3. Custom record-page layout

    Build a Lightning Record Page in Lightning App Builder. Assign to record types and profiles.

  4. Custom home or app page

    Build a Lightning Home Page or App Page in Lightning App Builder.

  5. Branded email template

    Build a Lightning Email Template in the Lightning Email Template designer.

  6. Embed Lightning in external page

    Use Lightning Out App; create the App, embed via script tag on the external host.

Gotchas
  • Aura is supported but on a long-term sunset path. New builds should use LWC.
  • Lightning Bolt as a brand is effectively retired. Pick Experience Cloud Templates or Industries Cloud for new builds.
  • Each Lightning Type ships as distinct metadata. Mixing types in one feature requires understanding each one''s deployment model.
  • Classic alternatives (Visualforce, Classic Apps, Classic Email Templates) are still supported but should not be used for new work.

See the full Lightning Types entry

Lightning Types includes the definition, worked example, deep dive, related terms, and a quiz.