Skip to content

Button Cluster

import '@sbddesign/bui-ui/button.js'
import '@sbddesign/bui-ui/button-cluster.js'
<bui-button-cluster direction="horizontal">
<bui-button style-type="outline" label="Back" cluster="left"></bui-button>
<bui-button style-type="outline" label="Save" cluster="middle-horizontal"></bui-button>
<bui-button style-type="outline" label="Next" cluster="right"></bui-button>
</bui-button-cluster>

The direction property is neither required nor reflected.

PropertyAttributeTypeDescription
directiondirectionstringNo
  • horizontal - Buttons arranged in a row
  • vertical - Buttons arranged in a column
  • Layout Management: The button cluster automatically manages the layout of child buttons
  • Spacing: Provides consistent spacing between buttons in the cluster
  • Direction Control: The direction property controls whether buttons are arranged horizontally or vertically

The button cluster component does not emit custom events. It acts as a container for buttons and manages their layout and spacing.