Skip to main content
Version: Next

Badge

Overview​

Badges are small status descriptors that can be used to highlight specific information, such as notification counts, status indicators, or labels. They can include text, numbers, or just a dot indicator.

Preview​

Notifications

Installation​

npx @mindfiredigital/ignix-ui add badge

Usage​

Import the component:

import { Badge } from './components/ui';

Basic Usage​

function BasicBadge() {
return (
<div className="relative inline-flex items-center">
<Mail className="h-6 w-6" />
<Badge text="3" type="primary" />
</div>
);
}

Variants​

StatusFeaturedDismissible
Notifications3