Basic Usage
Orientation
Horizontal (default) groups buttons side-by-side. Vertical stacks them:Common Patterns
Pagination controls, view toggles, and segmented controls all benefit from button groups:API Reference
Protocol Reference
ButtonGroup
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Visually connect related buttons with merged borders.
{
"type": "ButtonGroup",
"id?": "string",
"onMount?": "any",
"children?": "[Component]",
"let?": "object",
"orientation?": "horizontal | vertical",
"cssClass?": "string"
}