> ## Documentation Index
> Fetch the complete documentation index at: https://learn.mintlify.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Site-wide, page-level, and inline signals

> Use banners for site-wide announcements, tags for page status in the sidebar, and badges for inline labels.

Callouts sit in the main content and interrupt the reading flow. Some signals work better elsewhere: across the whole site, in the sidebar before a reader opens a page, or as a small label next to the thing it describes.

Banners, tags, and badges handle those three cases.

## Banner: site-wide announcements

A banner appears at the top of every page. It isn't a component you add to a page. You configure it once with the `banner` property in `docs.json` and choose whether readers can dismiss it.

Use a banner when:

* You're announcing a deprecation that affects a significant portion of your users.
* A feature is in maintenance mode or temporarily unavailable.
* There's a breaking change in an upcoming release that everyone needs to know about before they continue reading.

Set `type` to match the urgency: `info` for general announcements, `warning` for maintenance or upcoming changes, and `critical` when readers need to act.

```json Example of a banner in docs.json theme={null}
{
  "banner": {
    "content": "API v1 is deprecated and will be removed on March 31. [Migrate to v2](/guides/migrate-v2) before that date.",
    "type": "warning",
    "dismissible": true
  }
}
```

If a reader dismisses a banner, it stays hidden for them until you change its content.

### When not to use a banner

If an announcement is only applicable to a small portion of your users, don't use a banner.

Don't use a banner for:

* A new feature announcement that isn't urgent or widely relevant (write a changelog entry instead).
* Page-specific notes or warnings (use a callout instead).
* Content that applies to only some users (the banner appears to everyone).

The cost of a banner is high: it takes up space on every page and if it's not relevant to people, it trains them to dismiss banners without reading them. Use banners thoughtfully, and retire them promptly.

## Tag: sidebar labels for pages

The `tag` frontmatter property adds a short label next to your page title in the sidebar. Use it to signal the status of a page to readers before they open it.

```yaml Example of a tag theme={null}
---
title: "Streaming responses"
tag: "New"
---
```

Tags are useful for:

* Marking new pages or recently updated content so returning users notice them.
* Labeling preview or beta features that aren't yet stable.

For deprecated pages, Mintlify has a specific frontmatter property: `deprecated: true`.

```yaml Example of a deprecated page theme={null}
---
title: "Legacy authentication"
deprecated: true
---
```

This displays a "Deprecated" label next to the page title.

## Badge: inline labels and status indicators

Use `<Badge>` components to communicate status, version, or category inline with your content.

```mdx Example of a badge theme={null}
## Streaming responses <Badge color="green">New</Badge>

Streaming is now available for all API tiers.
```

Common uses for badges include:

* Versions and availability: Available in v2.3+
* Status indicators: Beta, Deprecated, Enterprise
* Requirements and defaults: Required, Optional, Default

## Tags versus badges

Both tags and badges are labels, but they appear in different places and serve different readers.

A tag is a sidebar signal. It's visible before the reader opens a page and useful for readers scanning navigation.

A badge appears inside the content and labels something at the point where the reader encounters it.

The right choice depends on when the reader needs the information: in the sidebar while navigating or in the content while reading.

Quiz

You've released a new page documenting a beta feature. You want readers to know it's in beta before they open the page. Which approach fits best?

Next up: [Steps or numbered lists](https://learn.mintlify.com/courses/components/steps-or-lists.md)—choose the right structure for instructions readers must follow.
