import { CIcon } from '@coreui/icons-react'
// or
import CIcon from '@coreui/icons-react/src/CIcon'
PropertyDescriptionTypeDefault
classNameA string of all className you want applied to the component.string-
content
Deprecated 3.0+
Use icon={...} instead ofstring | string[]-
customClassNameUse for replacing default CIcon component classes. Prop is overriding the 'size' prop.string | string[]-
heightThe height attribute defines the vertical length of an icon.number-
iconName of the icon placed in React object or SVG content.string | string[]-
name
Deprecated 3.0+
Use icon="..." instead ofstring-
sizeSize of the icon. Available sizes: 'sm', 'lg', 'xl', 'xxl', '3xl...9xl', 'custom', 'custom-size'.'custom' | 'custom-size' | 'sm' | 'lg' | 'xl' | 'xxl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl' | '9xl'-
titleTitle tag content.string-
useIf defined component will be rendered using 'use' tag.string-
widthThe width attribute defines the horizontal length of an icon.number-
On this page