Go Main page
Go Main page

Web components

cover

components

TagV2

v.1.0.0 | Saturn

Usage

import { TagV2 } from '@kubit-ui-web/react-components'
1
<TagV2 variant="HEALTHY" label={{content: 'LABEL'}} />

Props

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

PropertyTypeDefaultDescription
variant
Required
String-Variant
label
Required
TagLabelType-Label
iconIElementOrIcon-Icon
aria-labelString-aria-label label for tag
aria-labelledbyString-aria-labelledby label for tag
aria-describedbyString-aria-describedby label for tag
aria-disabledBoolean-aria-disabled label for tag
componentstring or React.ComponentType<any>-Component
dataTestIdStringtagTest id
ctvTagPropsStylesType-Modify styles for the default version of the component