Layout

Component

Center

Layout primitive designed to center child elements along both horizontal and vertical axes effortlessly.

Component Syntax

blade
<x-aura::center gap="3">
    <x-aura::icon name="check" size="sm" />
    <x-aura::text size="sm">
        Centered Content
    </x-aura::text>
</x-aura::center>

1. Centered Status Notice

blade

All cloud changes synchronized

2. Inline Centered Badge Element

blade

System status:

Online

3. Vertical Centered Action Box

blade

Ready to deploy?

Instant zero downtime deployments with rollback support.

Component Props

Available properties and configurations for the center layout component.

Prop Default Available Values

inline

false
true false

gap

0

Spacing scale (0, 1, 2, 3, 4, 6, 8)