Components
Group
Horizontal flex container for grouping related elements with consistent spacing.
Usage
Best practices
Groupis a horizontal cluster of related controls (buttons, chips) that canwrap; for a vertical stack useStack, for full flex control useFlex.Control horizontal distribution with
position(its justify prop) and vertical alignment withalign; bothgapandwrapaccept per-breakpoint objects.asandrenderare mutually exclusive (renderwins, dev-warned);asdraws from the closed layout vocabulary, soas="button"is a type error (useButton).Use
asto change the element (a tag); userenderonly to swap in a component (e.g. a router Link). Neverrender={<Box as=…/>}- passasdirectly.
Props
Also exports
- interface
GroupProps