Button group
Buttons joined into one control: inner corners squared, borders overlapped. Works with ray-button, ray-icon-button, menus with a button trigger and fields (ray-input, ray-select, ray-search).
API
For AI agents: this API as Markdown, or every component in llms-full.txt.
<ray-button-group> · RayButtonGroup
role=group; give it a label. The corners come from the --ray-group-radius-* custom properties, which your own components can read too.
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
orientation | orientation reflects | horizontal | vertical | horizontal | Direction of the group. |
fullWidth | full-width reflects | boolean | Fills its container; the children share the width. | |
label | label | string | Accessible name (aria-label). |
| Slot | Description |
|---|---|
| (default) | The buttons, fields or menus to join. |