Go Main page
Go Main page

Web components

cover

components

Icon Highlighted

v.1.0.0 | Saturn

Usage

import { IconHighlighted } from '@kubit-ui-web/react-components'
1
<IconHighlighted icon="ICON_GHOST" color="pink" backgroundColor="black" variant="SQUARE" size="MEDIUM" />

Props

Let's delve into the versatility of the IconHighlighted component by examining all its avalaible props.

PropertyTypeDefaultDescription
variant
Required
String-Variant to add IconHighlighted styles
size
Required
IconHighlightedSizeType-Icon size
iconReactNode-Icon to show
typeIconHighlightedType-Icon type in order to be accessible
backgroundColorString-Set the background color
ctvIconHighlightedVariantStylesType-Modify styles for the default version of the component

And extends props from IElementOrIcon and from IIcon, except icon