@php $examples = [ 'Variants' => <<<'BLADE' BLADE, 'Sizes, with an icon' => <<<'BLADE' BLADE, 'Square, and pressed (hold the pointer down)' => <<<'BLADE' BLADE, 'Colours' => <<<'BLADE' BLADE, 'Toggle buttons' => <<<'BLADE' BLADE, 'Icon buttons, and their tooltips' => <<<'BLADE' BLADE, 'Icon button sizes and widths' => <<<'BLADE' BLADE, 'Links and disabled' => <<<'BLADE' BLADE, 'Loading indicator' => <<<'BLADE' BLADE, 'Button groups: standard (press a button) and connected' => <<<'BLADE' BLADE, 'A connected group that owns its selection' => <<<'BLADE'

View: ยท marks: . The shape follows at once; the colours come from each button's own :selected, which a Livewire render brings back.

BLADE, 'Square groups (hold a button down)' => <<<'BLADE' BLADE, 'A choice as a connected group' => <<<'BLADE' BLADE, 'Split buttons' => <<<'BLADE' BLADE, 'FABs and extended FABs' => <<<'BLADE' BLADE, 'An extended FAB that collapses on scroll (scroll the page)' => <<<'BLADE' BLADE, 'FAB menu' => <<<'BLADE' BLADE, ]; @endphp

Buttons

<x-button>: label buttons, icon buttons and toggles in M3 Expressive's five sizes.

@foreach ($examples as $title => $code) @endforeach