Button

ARIA
RTL

Buttons allow users to take actions, and make choices, with a single tap.

Buttons communicate actions that users can take. They are typically placed throughout your UI, in places like:

  • Modal windows
  • Forms
  • Cards
  • Toolbars
Button

Default

Button as a link HTML element

Variants

Sizes

Icons

Full width

Disabled

Animations

Pulse animation is available only for "fill" variant only.

Multiline

Multiline button exists in XL size only. Please copy and paste the code below to see the result.

Button props

NameTypeRequiredDefaultDescription
animation'progress' | 'success' | 'error' | 'pulse' | booleanNo-Animation of button
asa | buttonNobuttonRendered HTML element
childrenReact.ReactNodeNo-Children content
classNamestringNo-Tailwind classes for customization
disabledbooleanNofalseDisabled button
fullWidthbooleanNofalseFull width button
iconLeftJSX.ElementNo-Left icon
iconRightJSX.ElementNo-Right icon
sizexs | sm | md | lg | xlNomdSize of button
variantfill | outline | ghostNofillVisual/Logical variant of button