Original Guide
Simple outlined viewport choices
The Syntax Tutorial keeps two compact buttons and a live viewport status. These native controls remain in the Guide.
Controls should make one change easy to test while staying outside the layout being taught. Compare the Guide’s existing viewport switch with the shared alignment controls and a more deliberate grouped treatment.
DemoControls variant="segmented" provides the grouped appearance for exclusive choices. Mixed slider and action toolbars keep the plain default. Use a mouse or keyboard to switch alignment; the selected button keeps aria-pressed, and the flex parent receives the actual Master CSS class.Each shared treatment changes the same three items. The original Guide shows its own viewport choices, which already communicate state clearly.
The Syntax Tutorial switches a real iframe across the sm breakpoint. The resulting button padding changes inside its own viewport.
The Guide’s UI stays as authored. The shared control treatment is for new demo scenes that need a reusable fieldset and a deliberate selection state.