--- title: Close Button description: Used to trigger close functionality links: storybook: components-close-button--basic recipe: close-button --- ## Usage ```jsx import { CloseButton } from "@chakra-ui/react" ``` ```jsx ``` ## Examples ### Sizes Use the `size` prop to change the size of the close button. ### Variants Use the `variant` prop to change the appearance of the close button. ### Custom Icon Pass the custom icon to the `children` of the `CloseButton` component. ## Props