Skip to main content
The props for the Button component. ButtonProps

Extends

  • ButtonBaseProps

Extended by

Properties

PropertyTypeDescriptionInherited from
pendingLabel?ReactNodeThe label to display when the button is pending.-
variant?ButtonVariantThe variant of the button. Defaults to “primary”.-
asChild?booleanSet to true to use a custom element or component in place of the default button element.ButtonBaseProps.asChild
fullWidth?booleanWhether the button should be full width.ButtonBaseProps.fullWidth
isPending?booleanWhether the button state is pending.ButtonBaseProps.isPending
size?ButtonSizeThe size of the button. Defaults to “md”.ButtonBaseProps.size