# @vaadin/badge
A web component for displaying badges with various theme variants.
[Documentation + Live Demo ↗](https://vaadin.com/docs/latest/components/badge)
[](https://www.npmjs.com/package/@vaadin/badge)
> ⚠️ This component is experimental and the API may change. In order to use it, enable the feature flag by setting `window.Vaadin.featureFlags.badgeComponent = true`.
```html
Badge
Success
Error
Warning
```
## Installation
Install the component:
```sh
npm i @vaadin/badge
```
Once installed, import the component in your application:
```js
import '@vaadin/badge';
```
## Contributing
Read the [contributing guide](https://vaadin.com/docs/latest/contributing) to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.
## License
Apache License 2.0
Vaadin collects usage statistics at development time to improve this product.
For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.