ButtonGroup is used to combine multiple related actions together, commonly seen in toolbars, action panels, etc.
ButtonGroup supports two usage methods:
Pass button configuration array through the items prop. Each button item supports text, icon, disabled, and onclick properties.
When you need to fully customize button content, use the children Snippet.
ButtonGroup's fill and state props can be used together:
base/lineState/textState/colorLight: Follow state changesline/lineLight/text: Colorless mode, not affected by stateThe divider height between buttons is controlled by the dividerHeight prop:
full: 100% heightmid: 60% height (default)short: 30% heightThe divider color automatically follows the button text color.
You can disable individual buttons by setting the disabled property in the items array.