Skip to main content
Version: Next

Button

The Button component from Superset's UI library.

All Variants

Loading component...

Live Example

Loading component...

Try It

Edit the code below to experiment with the component:

Live Editor
function Demo() {
  return (
    <Button
      buttonStyle="default"
      buttonSize="default"
    >
      Button!
    </Button>
  );
}
Result
Loading...

Props

PropTypeDefaultDescription
buttonStylestring"default"The style variant of the button.
buttonSizestring"default"The size of the button.
childrenstring"Button!"The button text or content.

Import

import { Button } from '@superset/components';

Improve this page

This documentation is auto-generated from the component's Storybook story. Help improve it by editing the story file.