# Badge

> A small pill at the top of a view, that shows a state at a glance, like the temperature outside.

Source: https://contributors.home-assistant.io/glossary/badge/

- In code: `hui-entity-badge`, `ha-badge`
- Also: badges

Badges sit above the cards, and can open the more-info dialog of their entity. The `ha-badge` component draws them, and is used for similar pills elsewhere in the UI.

## Related terms

- [View](https://contributors.home-assistant.io/glossary/view/): One page of a dashboard. Its type, like sections, masonry, or panel, decides how its cards are laid out.
- [Card](https://contributors.home-assistant.io/glossary/card/): A block on a dashboard that shows or controls something, like an entity, a graph, or a weather forecast.
