Loading
×Sorry to interrupt
CSS Error
Aura Component

Template

  • Default template used to bootstrap Aura framework. To use another template, extend aura:template and set attributes using aura:set.

    Descriptor

    aura:template

    Targets

    Lightning Experience, Experience Builder Sites, Salesforce Mobile App, Lightning Out / Visualforce, Standalone Lightning App

aura:templatecomponent

Default template used to bootstrap Aura framework. To use another template, extend aura:template and set attributes using aura:set.

Support:GA
Access:global
Abstract:false
Extensible:true

Attributes

NameTypeAccessRequiredDefaultDescription
auraPreInitBlockcomponent[]globalThe block of content that is rendered before Aura initialization.
bodycomponent[]global
Inherited from aura:component
The body of the component. In markup, this is everything in the body of the tag.
bodyClassstringglobalExtra body CSS styles
defaultBodyClassstringgloballoadingDefault body CSS styles.
doctypestringglobal<!DOCTYPE html>The DOCTYPE declaration for the template.
errorMessagestringglobalCSS ErrorError loading text
errorTitlestringglobalSorry to interruptError title when an error has occurred.
loadingTextstringglobalLoadingLoading text
titlestringglobalAuraThe title of the template.
Specification