Homecomponentsaction
IconButton
An icon-only control that initiates an action.
Use IconButton to create a button with only an icon as its content.
Size
Use the size property to set the size of the icon.
Ghost
Use ghost to create a button with no background or border.
Bleed
Use bleed to bleed the button area out for alignment.
New Service
API
icon
Required
IconComponent
iconColor
ConditionalStyle<Values<{ red5: CSSVarFunction; blue0: CSSVarFunction; blue4: CSSVarFunction; blue1: CSSVarFunction; blue2: CSSVarFunction; ... 131 more ...; transparent: string; }, { ...; }>>
tabIndex
number
onClick
MouseEventHandler<HTMLButtonElement>
label
string
disabled
true
false
bleed
true
false
size
medium
large
small
variant
primary
secondary
caution
onColor
apple
facebook
google
instagram
linkedin
paypal
stripe
twitter
ghost
true
false
data
DataAttributeMap
ref
Ref<HTMLButtonElement>
key
Key | null