Action

Component

Button

Versatile interactive button component supporting semantic variants, size scales, leading and trailing icons, and loading states.

Component Syntax

blade
<x-aura::button variant="primary" size="md">
    Create
</x-aura::button>

1. Button Variants

blade
Link

2. Button Sizes

blade

3. Buttons with Icons

blade

4. Pill Shape Buttons

blade

5. Real World Card Actions

blade

Unsaved Changes

You have pending configuration updates waiting to be applied.

Component Props

Available properties and configurations for the button component.

Prop Default Available Values

variant

secondary
primary secondary filled subtle outline ghost danger link

size

md
xs sm md lg xl

type

button
button submit reset

href

null

URL link string

icon

null

Icon name string

iconTrailing

null

Icon name string

shape

default
default square pill circle

pill

false
true false

square

false
true false

disabled

false
true false

loading

null
true false

Livewire target string

fullWidth

false
true false