CodeAI

Close Button

Icon-only close action for dismissible components such as alerts, popovers, dialogs, drawers, and tabs.

Appearance

State

Accessibility

Props — CloseIconButton
View MUI docs
PropTypeDescription
size"large" | "medium" | "small" | "extraSmall"Close-control geometry: 24 / 18 / 18 / 13px.
color"primary" | "secondary" | "brand" | "pink" | "orange" | "success" | "error" | "warning" | "info"Icon color matching the host surface sentiment.
disabledbooleanDisables interaction.
onClick(event) => voidDismiss or close action handler.
aria-labelstringAccessible name for the icon-only action.