@php
$examples = [
'Navigation bar' => <<<'BLADE'
Compact: icon over label From 600px wide: icon beside label, centred Hide on scroll: scroll the page down, then up Tall (80px): icon over label whatever the width
<x-scaffold>'s from expanded (840px) too.
M3's other expanded behaviour: collapsing this rail takes it out of the layout instead of narrowing it to 96px, so an immersive page gets the whole window. The only way back is a menu button of the application's own — its own button then docks it again.
<x-navigation-bar> and <x-navigation-bar-item>, <x-navigation-rail>, <x-navigation-rail-item> and <x-navigation-rail-section>,
and <x-scaffold>, which puts them together on M3's window size classes: a bar below medium (600px), a collapsed rail that opens as a modal through medium, a standard rail from expanded (840px) and an expanded one from large (1200px).
Open the scaffold and change the window's width.