Skip to content

[EuiButtonIcon] Add isLoading prop to match EuiButton #5649

@p-young

Description

@p-young

This is a feature request to allow EuiButtonIcon to also have a loading state "isLoading" like EuiButton does.

The use case is for example a chat submit button, which needs to be put into a loading state after submission.

A workaround is to use EuiButton with an icon and manually change the margins to make it look like an EuiButtonIcon, but I think it would be nice to have EuiButtonIcon directly do it.

Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions