# Menu

All six official Menu demos run live below — real framework code on PHP 8.4 WebAssembly, in your browser, **fully interactive**.

## Interactive selection

Pick a variation in the tabs, press Run, then **click the terminal** to give it your keyboard: **↑/↓** (or **←/→** in the horizontal demo) move the aim, **Space** toggles the selection, **Enter** confirms.

<d-block-terminal
  engine="bootgly-cli"
  title="Menu — live demos"
  commands="Global divisors:demo 13|Divisors in Builder:demo 14|Unique selection:demo 15|Horizontal:demo 16|Center aligned:demo 17|Right aligned:demo 18"
  height="380"
>
Each tab is one official demo: multiple selection with global divisors, per-item divisors via the Builder, unique (radio-like) selection mode, horizontal orientation, and center/right alignment. The selected indexes are printed when you confirm.
</d-block-terminal>

Use the source button on the terminal to read the exact PHP file behind each tab. The component is documented in the [Menu overview](/manual/CLI/UI/Components/Menu/overview).
