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).

Source on GitHub

Left Center Right Deploy Deploy to staging Schedule… 100%
Search Top Middle Bottom
Code

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.

PropertyAttributeTypeDefaultDescription
orientationorientation reflectshorizontal | verticalhorizontalDirection of the group.
fullWidthfull-width reflectsbooleanFills its container; the children share the width.
labellabelstringAccessible name (aria-label).
SlotDescription
(default)The buttons, fields or menus to join.