Displays a ghost button used with an icon.
asChildcolorfullyDisabledBy default, the `disabled` prop will use the `aria-disabled` attribute to ensure that content remains focusable and accessible even when in a disabled state. If you are sure you want to disable the button and take measures to ensure its accessibility, you can set this prop to `true` to use the `disabled` attribute instead.
loadingsizestateAlso supports MarginProps: `m`, `mb`, `ml`, `mr`, `mt`, `mx`, `my`
A button can represent different types of state that may or may not be mutually exclusive. Most of these can be represented by props inherited from the button element, such as disabled and readOnly.
Use the loading prop to indicate that the button is in a loading state. When loading is true, the button is disabled whether or not the disabled prop is set.
When button changes to a loading state, screen readers announce “Loading, please wait.”
Loading and disabled buttons are focusable for accessibility reasons, but can’t be clicked and don’t submit forms.
8 variants found
/branding/edit
/:environmentId/roles-and-permissions/resource-types/edit/editable-resource-types-graph
/:environmentId/applications/:applicationId
2 variants found
Also supports MarginProps: m, mb, ml, mr, mt, mx, my
stateType: "disabled" | "normal" | "loading"Used 93 times across 2 packages
size
color
76 files
/branding/edit
/:environmentId/roles-and-permissions/resource-types/resource-types-graph
Show 66 more files