IconButton Component Playground

Interactive playground to test all IconButton props and variants

Props

Color selection is only available for Primary variant

Text displayed on the button

Icon Selection

Icon Visibility

Toggle icon visibility. When unchecked, icons are hidden.

Preview

<IconButton variant="primary" size="large" fullWidth={false} iconOnly={false} isLoading={false} disabled={false} showLeadingIcon={false} showTrailingIcon={false} color="primary">{"Button"}</IconButton>
{
  "variant": "primary",
  "size": "large",
  "fullWidth": false,
  "iconOnly": false,
  "isLoading": false,
  "disabled": false,
  "showLeadingIcon": false,
  "showTrailingIcon": false,
  "color": "primary",
  "children": "Button"
}