Join
Fuses adjacent buttons or inputs into one control: button groups, pagination, an input with its button.
| Name | Type | What it does |
|---|---|---|
join | component | Container. Rounds the first and last child and squares the rest |
Button group
<div class="join">
<button class="btn">Day</button>
<button class="btn">Week</button>
<button class="btn">Month</button>
</div>Input with a button
<div class="join" style="width: min(22rem, 100%)">
<input class="input" placeholder="Invite by email" aria-label="Email">
<button class="btn btn-primary">Send</button>
</div>