React playground

Nova v3.37.0

Preview

React

Notification Bullet

nv-notification-bullet

A small counter that shows how many unread items wait behind a navigation entry or control.

Parts
Guides

Live demo

Size

Use a notification bullet to show a count of new items, such as unread messages next to a navigation entry. It shows count and caps the display at "99+", while its accessible label keeps the real number, for example "105 notifications". A count of 0 hides the bullet.

count="3"
count="42"
count="105"
size="reduced"
  • size="reduced" shows a small dot without the number, for example in a collapsed sidebar, where it is applied automatically.
  • Inside nv-sidebar, set the bullet's colours on the sidebar with notificationIntention (brand or neutral) and notificationEmphasis (high or low); every bullet in it follows them. Outside a sidebar, the bullet uses brand, high.
  • The bullet's own intention and emphasis properties are deprecated and kept only for compatibility.

Pair the bullet with a visible label, so people know what the number counts. For a time-limited message, use a notification instead.

Messages
DoPut the bullet next to a label that says what it counts.
Don'tAvoid a count on its own; people can't tell what it counts.

In navigation

The Navbar design places the shared count beside an item's label, without a contrasting border. Its Figma Number maps to the parent item's notification property; this standalone component uses count. contrastingBorder is available when the bullet needs separation from another background, and is false by default.

Keep the navigation label intact and expose the count as supplementary information, rather than replacing the destination's name. The Navbar's active and disabled states belong to the navigation item, not to this bullet. That parent component is not available in this library; use the sidebar for the implemented navigation integration.

Sources