Skip to content

@checkout-kit/ui / ButtonProps

Interface: ButtonProps ​

Extends ​

  • Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type">

Properties ​

PropertyTypeDescriptionOverrides
busy?booleanShows a spinner and stops responding. Keeps the label: it is a moving target otherwise.-
childrenReactNode-Omit.children
className?string-Omit.className
fullWidth?boolean--
leftIcon?ReactNode--
ref?Ref<HTMLButtonElement>--
rightIcon?ReactNode--
size?"sm" | "md"--
type?"submit" | "reset" | "button"--
variant?ButtonVariant--

Apache-2.0 · Headless engine, provider adapters and runnable examples.