Badge
Small status indicator or count label positioned relative to its child element. Animated on appearance using Framer Motion.
Import
import { Badge } from 'reablocks';
Badge Props
| Prop | Type | Default | Description |
|---|---|---|---|
content | string | JSX.Element | — | Badge content (text or element) |
color | 'default' | 'primary' | 'secondary' | 'error' | string | 'default' | Color variant |
placement | `'top-start' |
[Description truncada. Veja o README completo no GitHub.]