Data display

Overlay badge

Themed positioned badge for notification counts or status dots over avatars, icons, and tabs.

03

Import

#import

Add the symbol to your component's imports array. The walkthrough below shows the most common usages — copy & tweak.

import { KjOverlayBadgeComponent } from '@kouji-ui/components';
Loading editor
04

Playground

#playground
4 Unread notifications
variant
size
position
<kj-overlay-badge
  [kjValue]="4"
  kjVariant="destructive"
  kjSize="md"
  kjPosition="top-end"
  kjDescription="Unread notifications"
>
  <kj-button kjVariant="outline">Inbox</kj-button>
</kj-overlay-badge>