Skip to content

Button


import '@sbddesign/bui-ui/button.js'
<bui-button label="Receive Bitcoin"></bui-button>
<bui-button label="Send Bitcoin" style-type="outline"></bui-button>
PropertyAttributeTypeRequiredReflectedDescription
contentcontentstringNoNoContent type: “label”, “icon”, “label+icon”, “icon+label”
styleTypestyle-typestringNoNoButton style: “filled”, “outline”, “free”
sizesizestringNoNoButton size: “default”, “small”, “large”
disableddisabledbooleanNoYesWhether the button is disabled
labellabelstringNoNoText label for the button
clusterclusterstringNoNoCluster position: “top”, “bottom”, “left”, “right”, “middle-horizontal”, “middle-vertical”
widewidebooleanNoYesWhether the button should take full width
  • label - Text only
  • icon - Icon only
  • label+icon - Text followed by icon
  • icon+label - Icon followed by text
  • filled - Solid background button
  • outline - Outlined button
  • free - Minimal styling
  • default - Standard size
  • small - Compact size
  • large - Larger size
  • top - Top of a group
  • bottom - Bottom of a group
  • left - Left side of a group
  • right - Right side of a group
  • middle-horizontal - Middle of horizontal group
  • middle-vertical - Middle of vertical group

The component emits a standard click event when clicked (unless disabled).