Edit page

ComboButton

A ComboButton has a button on the left and a dropdown containing a menu of more options on the right.

Import Syntax

Basic Usage

Colors

clear
clearGray
red
green

Sizes

extraSmall
small
large
extraLarge
fullWidth
half

Custom Dropdown icon

Props

PropertyTypeRequiredDefaultDescription
typeEnumfalsebuttonThe HTML type property of the primary ComboButton.
iconPositionEnumfalseafterThe position of the icon in relation to other children in a ComboButton.
closeOnSelectBoolfalsetrueWhether or not the Popover should trigger onRequestClose when an element is selected.
dropdownIconNodefalse<CaretDownIcon filled size={14} />The icon used inside the dropdown button
childrenNodefalse-The content of the component; should be a Menu with MenuItems for the dropdown.
clearBoolfalse-Style prop used to render a clear ComboButton.
clearGrayBoolfalse-Style prop used to render a clear-gray ComboButton.
extraSmallBoolfalse-Style prop used to render an extra small ComboButton.
smallBoolfalse-Style prop used to render a small ComboButton.
largeBoolfalse-Style prop used to render a large ComboButton.
extraLargeBoolfalse-Style prop used to render an extra large ComboButton.
fullWidthBoolfalse-Style prop used to render a 100% width ComboButton.
halfBoolfalse-Style prop used to render a 50% width ComboButton.
redBoolfalse-Style prop used to render a red ComboButton.
greenBoolfalse-Style prop used to render a green ComboButton.
disabledBoolfalse-The HTML disabled property of the primary ComboButton.
hrefStringfalse-The HTML href property of the primary ComboButton; results in rendering an anchor element.
iconNodefalse-The icon that will be displayed as the content of a ComboButton.