Vue Close Button Component API

Close Button API

Explore the API reference for the Vue Close Button component and discover how to effectively utilize its props for customization.

On this page

CCloseButton

jsx
import { CCloseButton } from '@coreui/vue-pro'

Props

PropertyDefaultType
ariaLabel5.10.0+'Close'string

Sets the aria-label attribute of the close button.

dark-boolean

Invert the default color.

disabled-boolean

Toggle the disabled state for the component.

white-boolean

Change the default color to white.

Events

Event name
click

Event called when the user clicks on the component.