Join

Join arbitrary adjacent controls into one visual group

Join

Join collapses adjacent borders and preserves only the outer corners. It works with arbitrary compatible controls and does not replace the existing btn-group or toggle-group APIs.

Buttons

Joined buttons

Mixed controls

Keep every native control labelled. Hovered and focused items rise above adjacent borders so their state rings remain visible.

Search controls

Vertical

Vertical join

API

Class Purpose
.join Horizontal group and default orientation
.join-item Direct child participating in the joined shape
.join-horizontal Explicit horizontal orientation
.join-vertical Vertical orientation

In RTL documents, horizontal outer corners and overlap follow logical start/end automatically.