Close Button
Live preview and documentation for the Close Button component.
Preview
componentPreview.loading
About
Icon-only circular button (xmark glyph by default) for closing dialogs, sheets, cards, and toasts.
onPressed: action on tap;nullleaves the button disabled.size: diameter of the circular surface (default24); the icon scales along with it (16/24 of the size).icon: custom glyph (defaultKasyIcons.close).semanticLabel: accessible name (default"Close").- States: default (neutral background), hover (darker background), focus (ring), disabled (icon at reduced opacity).
Last updated on 08/23/2026

