Browse components

IconButton

Icon-only button for compact actions and toolbars.

atoms 6 variants
Variants / states: primarysecondarydangerghostoutlinelink

Live example

Default usage you can copy and adapt.

Basic Usage

Icon-only button with accessible label

primary
secondary
ghost
outline
danger

Variants

Different icon button variants

primary
secondary
ghost
outline
danger

Props

The props you are most likely to need, with types and defaults.

Props / API
NameTypeRequiredDefaultDescription
variantstringNoprimaryIcon button style variant
sizestringNomdIcon button size
disabledbooleanNofalseDisable the icon button
typestringNobuttonHTML button type
labelstringNo—Accessible label for icon-only buttons