components/tag/tag library

Classes

TUITag
TUITag is used to create a tag with contrast, icon type, size and text content.

Enums

TUITagContrast
TUITagContrast is used to define the contrast of the tag, text color and icon color are computed based on contrast.
TUITagIconType
TUITagIconType is used to define the position of the icon in the tag.
TUITagSize
TUITagSize is used to define the size of the tag. IconSize, leftPadding, rightPadding, space between icon and text, tag height, text style, and vertical padding are computed based on tag size.