# BadgeOverlayProps (@salmonui/notifications/badge)

> The BadgeOverlayProps type of @salmonui/notifications/badge: Overlay mode, selected by the presence of the content or dot prop. content of null, undefined, false or '' hides the badge like invisible (0 shows).

Canonical: https://salmonui.dev/docs/reference/notifications/badge/BadgeOverlayProps

```ts
import type { BadgeOverlayProps } from '@salmonui/notifications/badge';
```

Entry index: https://salmonui.dev/docs/reference/notifications/badge (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/notifications/badge.md).

## Reference

Kind: type

```ts
type BadgeOverlayProps = BadgeOverlayBase & ({
    content: ReactNode;
    dot?: false | undefined;
    label?: string | undefined;
} | {
    content?: undefined;
    dot: true;
    label: string;
});
```

Overlay mode, selected by the presence of the `content` or `dot` prop. `content` of `null`, `undefined`, `false` or `''` hides
the badge like `invisible` (`0` shows).
