# BadgeInlineProps (@salmonui/notifications/badge)

> The BadgeInlineProps interface of @salmonui/notifications/badge: Inline mode: children is the badge text.

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

```ts
import type { BadgeInlineProps } 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: interface

```ts
interface BadgeInlineProps extends BadgeCommonProps {
    variant?: BadgeVariant | undefined;
    children?: ReactNode;
    render?: ((props: BadgeRenderProps) => ReactElement) | undefined;
    content?: never;
    dot?: false | undefined;
    max?: never;
    placement?: never;
    overlap?: never;
    invisible?: never;
    label?: never;
    locale?: never;
}
```

Inline mode: `children` is the badge text.

Members (14):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `variant` | `variant?: BadgeVariant \| undefined;` | optional | Visual weight. Default `'soft'`; `'dot'` is a status dot before the text (the dot is decorative, the text carries the meaning). |
| `children` | `children?: ReactNode;` | optional | The badge text. |
| `render` | `render?: ((props: BadgeRenderProps) => ReactElement) \| undefined;` | optional | Renders another element (a link, a router link) with the computed props. |
| `content` | `content?: never;` | optional |  |
| `dot` | `dot?: false \| undefined;` | optional |  |
| `max` | `max?: never;` | optional |  |
| `placement` | `placement?: never;` | optional |  |
| `overlap` | `overlap?: never;` | optional |  |
| `invisible` | `invisible?: never;` | optional |  |
| `label` | `label?: never;` | optional |  |
| `locale` | `locale?: never;` | optional |  |
| `tone` | `tone?: BadgeTone;` | optional, inherited | Color role. Default `'neutral'`. |
| `shape` | `shape?: BadgeShape;` | optional, inherited | Corner shape. Default `'rounded'` inline, `'pill'` for overlay badges. |
| `ref` | `ref?: Ref<HTMLSpanElement>;` | optional, inherited | The root element: the badge inline, the host wrapper in overlay mode. |
