Props

NameTypeRequiredDefaultDescription
disabled
boolean
false
since

10.19.0

icon
ReactNode
false

The icon of the button.

since

10.19.0

label
string
false

The text of the button.

since

10.19.0

loading
boolean
false
since

10.19.0

optionstrue
Data of the dropdown options - Option[] {`type Option = { label: string; children?: Option[] }`}
since

10.19.0

placement
Placement
false
default

'right-bottom'

since

10.19.0

sizefalse

The button size

default

'md'

since

10.19.0

variantfalse
default

'secondary'

since

10.19.0

onClick
Function
false
Callback for click on dropdown option {'(option: Option) => void'}
since

10.19.0

optionRenderer
Function
false
Render prop to specify custom dropdown option content {'(option: Option) => ReactNode'}
since

10.19.0

Basic

Nested Options

Custom Trigger

Option Renderer