Usage
| Configuration | Purpose | Emphasis |
|---|---|---|
FlexBox alias | Shorthand flex container | Still token-driven gaps and alignment |
| Padding / margin scales | Rhythm | Prefer axis shorthand when horizontal and vertical differ |
| Background + border | Card-like regions | Don’t mimic interactive cards without proper focus semantics |
| Positioned overlays | Contextual layers | Manage zIndex with design tokens; avoid arbitrary stacks |
FlexBox is Box with flex display preset—choose it to reduce boilerplate, not to change semantics.
gap and wrapping over fixed widths when content varies.onClick alone without accessibility parity.@prepared911/ui, Box and FlexBox drop pointer, mouse, context-menu, and keyboard handlers. A context-menu region is Interactable inside ContextMenuTrigger. Focus and blur still pass.zIndex, Background, and Border rather than raw values.overflow: hidden), verify keyboard users can still reach hidden interactive elements or provide another path.