Badge
Live preview and documentation for the Badge component.
Preview
componentPreview.loading
About
A small badge for counters, status, or "new" indicators. Can be text or a simple dot.
text: the badge's label (e.g. "3", "New");isDot/KasyBadge.dot(...)renders just a colored dottone:primary,neutral,success,warning,danger(default) — sets background and text colorsize:sm,md(default),lgbackgroundColor/foregroundColor: override the tone's colors- Always draws a thin ring in the surface color around it, to stand out over whatever is underneath
KasyBadged overlays a KasyBadge on top of any widget (e.g. avatar, icon): placement (topRight, topLeft, bottomRight, bottomLeft), overlap (manual offset), and isCircularAvatar/avatarDiameter to calculate the right fit on the avatar's curve.
Last updated on 08/23/2026

