Layout

Component

Container

Responsive max width container wrapper enforcing consistent horizontal padding and center alignment across screen sizes.

Component Syntax

blade
<x-aura::container size="7xl">
    <!-- Page content -->
</x-aura::container>

1. Default Container

blade

Container Content (sm size)

2. Custom Container Sizes

blade

size="md" (max-w-md)

size="xl" (max-w-xl)

Component Props

Available properties and configurations for the container component.

Prop Default Available Values

size

6xl
sm md lg xl 2xl 3xl 4xl 5xl 6xl 7xl full

gap

null
1 2 3 4 6 8

padding

true
true false top bottom x y sm md lg

center

false
true false

as

div
div section article main