Stack

Vertical flow utility with consistent spacing

Accessibility

Semantics

  • Stack is a layout utility – it doesn’t add meaning on its own unless you set it via elementType property.
  • Use semantic elements inside (e.g., <form>, <ul>) based on the content.

Reading Order

  • Stack follows DOM order – ensure items are arranged logically for assistive tech.

Keyboard Support

  • Stack itself is not interactive. Interactive children must remain focusable in the correct order.

Responsive Behavior

  • Stack handles vertical spacing only – responsiveness depends on the content inside, not on Stack itself.