lightningCommunity__Page_Layout
Target
Enables a component to be used in Experience Builder as a page layout for an LWR site. Components appear in the Content Layout window.
lightningCommunity__Page_Layout
doesn't support component properties. To create a region on the page, use a named slot. You can also use the Lightning Design System utility classes for padding or alignment.
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