Newer Version Available
Pages and Components in the LWR Template
- Home
- Error
- Login
- Forgot Password
- Check Password
- Register
Also, we provide LWC versions of only a few components, so to accomplish your goals, you must
create custom
Lightning web components.
These out-of-the-box components provide similar functionality to the corresponding components in Aura sites.
- Rich Content Editor lets you add text to the page.
- HTML Editor lets you add and edit custom markup.
- Tile Menu adds an intuitive, image-based navigation menu to your site.
- Check Email displays a message instructing the user to check password reset email.
- Community Logo displays the logo that you specify in Login & Registration in the Administration workspace.
- Employee Login Link redirects internal users to the Salesforce login page to log in to the site.
- Forgot Password sends a reset password email to the given username.
- Login Form logs users into the site using their username and password.
- Self Registration allows external users to self-register in the site.
- Social Login logs users into the site using Auth Providers or SAML SSO.
For other components available in the template, see Standard Components for Use in the Build Your Own (LWR) Template in Salesforce Help. Some are available only when you have an active community license in your org.
Light DOM in LWR Templates and Standard Components
Before Spring ’22, standard Lightning web components in the LWR templates rendered by default in shadow DOM (Document Object Model), making it difficult to integrate third-party analytics services. Now these templates and several of their components are enabled with light DOM. In Lightning web components enabled with light DOM, you can query DOM elements from the document root, which facilitates DOM traversal. You can listen for events within these components and send the events to multiple third-party analytics services, such as Google Analytics.
To take advantage of light DOM on an existing LWR site, republish the site.