File size: 649 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
---
title: Badge
description: Used to highlight an item's status for quick recognition.
links:
source: components/badge
storybook: components-badge--basic
recipe: badge
---
<ExampleTabs name="badge-basic" />
## Usage
```jsx
import { Badge } from "@chakra-ui/react"
```
```jsx
<Badge>Badge</Badge>
```
## Examples
### Icon
Render an icon within the badge directly
<ExampleTabs name="badge-with-icon" />
### Variants
Badges come in different variants
<ExampleTabs name="badge-with-variants" />
### Sizes
Badges come in different sizes
<ExampleTabs name="badge-with-sizes" />
## Props
<PropTable component="Badge" part="Badge" />
|