Tag Page
Examples
Basic
Example Tag
Status
Two status available: "default" and "semi-transparent"
Default
Semi-Transparent
Colors
Eezee Yellow
Background
Danger
Success
Warning
Purple
Turquoise
Magenta
Eezee Blue
Prefix and Suffix Element
A Custom Element can also be placed on the left and/or right position of the tag
Prefix icon
Prefix Element
Suffix Element
Icon Image
Prefix icon
Prefix and Suffix Element
Icon Image
Max Width
A max width can be defined for overflow support
Prefix icon
Very long text super super long
Icon Image
Actions
Tag can be clickable and/or removable
Click Me!
Remove Me!
Cross Icon
Click or Remove Me!
Cross Icon
Props
PropertyTypeDescriptionRequiredDefault
backgroundColor
eezee-yellow-light
background
danger-light
success-light
warning-light
purple-light
turquoise-light
magenta-light
eezee-blue-light
-T-
children
React.ReactNode
Use-case: Allows regular and bold texts at the same timeT-
prefixElement
string
Use-case: Can be an Icon, Custom Text Font or JSX.ElementFundefined
suffixElement
React.ReactNode
Use-case: Can be Badge or JSX.ElementFundefined
maxWidth
number
Text overflow support for dynamic contentFundefined
isRemovable
boolean
To display the removable button (cross icon) at the tailFfalse
appearance
default
semi-transparent
-Fdefault
onClick
() => void
Click on tag's contentFundefined
onRemove
() => void
Click on tag's removable button (cross icon)Fundefined
onMouseEnter
() => void
Mouse hovers into componentFundefined
onMouseLeave
() => void
Mouse leaves from componentFundefined
Guidelines
Figma