lightningCommunity__Theme_Layout
Target
Enables a component to be used in Experience Builder as a theme layout for an LWR site. Components appear in Settings in the Theme area.
lightningCommunity__Page_Layout
doesn't support component properties. To indicate the region for your main content, include a default slot <slot></slot>
in your template. You can also use the Lightning Design System utility classes for padding or alignment. In this example, F6-navigable region
indicates an F6-navigable region.
In your component's JavaScript, include the @slot
annotation in a JSDoc comment.
The JSDoc annotation containing @slot
followed by the name of the region is required for the platform to know which slots (or regions in Experience Builder) are exposed for your page layout component.
See Also
- LWR Sites for Experience Cloud: Create Custom Layout Components
- Pass Markup into Slots
- Configure a Component for Experience Builder Sites
- XML Configuration File Elements