Layout

Component

Main

Main container layout area enforcing consistent padding, max width boundary, and configurable X and Y axis alignment options.

Component Syntax

blade
<x-aura::main alignX="center" alignY="center">
    <!-- Main content -->
</x-aura::main>

1. Centered Alignment

blade

Centered Content (X and Y)

Component Props

Available properties and configurations for the main layout component.

Prop Default Available Values

container

true
true false

hasSidebar

false
true false

alignX

stretch
stretch center start end

alignY

start
start center end