React Close Button Component API

Close Button API

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

On this page

CCloseButton#

import { CCloseButton } from '@coreui/react'
// or
import CCloseButton from '@coreui/react/src/components/close-button/CCloseButton'
PropertyDefaultType
className#-string

A string of all className you want applied to the base component.

dark#-boolean

Invert the default color.

disabled#-boolean

Toggle the disabled state for the component.

white#Deprecated 5.0.0-boolean

Change the default color to white.