Version: 3.0.3

CloseButton

CloseButton is essentially an IconButton with a close icon. It is used to handle the close functionality in feedback and overlay components like Alerts, Toasts, Drawers and Modals.

Import#

import { CloseButton } from 'native-base';

Examples#

Basic#

Sizes#

Props#

NameTypeDescriptionDefault
aria-labelstringAn accessible label for the close button.-
isDisabledbooleanIf true, the button will be disabled.-
colorstringThe color of the close icon.-
sizelg, md, smThe size of the close button.md