Xing Badge

Elegant and Shiny badge with full customizability.

Rendered
XingBadge.vue
BETA
NEW
DEV
OFFICIAL
VERIFIED
Default
Slate
Gray
Zinc
Stone
Red
Orange
Amber
Yellow
Lime
Green
Emerald
Teal
Cyan
Sky
Blue
Indigo
Violet
Purple
Fuchsia
Pink
Rose
Custom with Icon
No animation
npm
pnpm
bun
npx nidexingg-ui add badge

🦄 Features

  • Rich customization options with TailwindCSS preset colors.
  • Beautiful shine effect.
  • Utilizes XingIcon.

🧑‍🏫 Usage Guide

Props

typerequiredstring
Type of badge: beta, new, dev, official, verified, or custom.
textrequiredstring
Custom text for the badge when you set the type to custom.
colorstring
zinc
Custom color for the badge when you set the type to custom. Currently, it supports only standard TailwindCSS colors, including: slate, gray, zinc, stone, red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, and rose.
iconstring
Additional custom icon for the badge when you set the type to custom. This attribute is powered by XingIcon; check out XingIcon for more details.
noanimatedboolean
false
The badges feature a stunning shiny effect; however, if you prefer not to have this effect, you can opt out by adding the noanimated attribute to the tag, and the animation will be disabled.

🧑‍💻 Maintainers and Credits