Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Reference for Nuxt UI v4 (125+ components built on Reka UI + Tailwind CSS v4) including forms, overlays, and theming.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
components/badge.md
1# Badge23A short text to represent a status or a category.45## Key Props67- `label`: to set the label of the Badge.8- `color`: to change the color of the Badge.9- `variant`:10- `size`: to change the size of the Badge.11- `icon`: to show an [Icon](/docs/components/icon) inside the Badge.12- `avatar`: to show an [Avatar](/docs/components/avatar) inside the Badge.13- `class`: to override the base styles of the Badge.1415## Usage1617```vue18<UBadge19<!-- props here -->20/>21```22