Tag🏷

It is usually used to show some attributes, and occasionally used as some alternative attributes

Code demonstration

import { UTag } from 'ungeui';

Different themes🚀

Different sizes🔥

Closed❌

Capsule label💊

Disable🚫

Custom label color🌈

Props

Parameterdescriptiontypedefault value
typetag theme'default' | 'success' | 'warning' | 'info' | 'danger''default'
sizetag size'small' | 'medium' | 'large''medium'
colortag background colorstringundefined
roundcapsule roundbooleanfalse
closableclosablebooleanfalse
disableddisabledbooleanfalse
on-Closecallback(e:MouseEvent) => voidundefined

Last Updated: