Feedback

Component

Modal

Accessible dialog windows supporting standard forms, centered alert popups, destructive prompts, and wide modal layout.

Component Syntax

blade
<x-aura::button variant="primary" x-on:click="$dispatch('open-modal', 'demo-modal')">
    Launch
</x-aura::button>

<x-aura::modal name="demo-modal" title="Modal Title">
    <x-aura::text size="sm">
        Modal body content.
    </x-aura::text>
</x-aura::modal>

1. Confirmation Dialog

blade

2. Form Input Dialog (maxWidth=lg)

blade

3. Destructive Alert Dialog

blade

Component Props

Available properties and configurations for the modal component.

Prop Default Available Values

name

modal

Name identifier string

maxWidth

md
sm md lg xl 2xl full

variant

default
default centered danger success