Backstage
    Preparing search index...

    Variable ButtonConst

    Button: ForwardRefExoticComponent<
        ButtonProps & RefAttributes<HTMLButtonElement>,
    > = ...

    A button component built on React Aria Components that provides accessible interactive elements for triggering actions.

    The Button component supports multiple variants (primary, secondary, tertiary, danger), sizes (small, medium), and states including loading and disabled. It automatically handles keyboard navigation, focus management, and ARIA attributes for accessibility.

    Basic usage:

    <Button>Click me</Button>
    

    With icons and loading state:

    <Button
    variant="primary"
    size="medium"
    iconStart={<IconComponent />}
    loading={isSubmitting}
    >
    Submit
    </Button>