Components

Join

Join — groups a set of controls into a single segmented unit, squaring the inner corners and collapsing the shared borders so a button cluster or an input + button reads as one control (think a search field with a "go" button, or a paginator). Set `orientation` to `vertical` to stack the segments into a column instead of the default row. Join only groups and sets direction: every child supplies its own `join-item` class, either on the raw element or through a library component's `className` passthrough. Reach for it when adjacent controls act as one; use plain spacing when they are independent.