@hautechai/webui.badge
v2.1.10
Published
Small notification indicator component to highlight status, notifications, or count information with color coding.
Readme
Badge
Purpose
Small notification indicator component to highlight status, notifications, or count information with color coding.
Installation
# pnpm (recommended)
pnpm add @hautechai/webui.badge
# npm
npm install @hautechai/webui.badge
# yarn
yarn add @hautechai/webui.badgeParameters
| Parameter | Type | Description | | --------- | ------------------------------ | -------------------------------------------------------------- | | color | 'success' | 'error' | 'info' | Required color variant indicating the badge's semantic meaning | | label | string | Required text content displayed within the badge |
Usage Example
<Badge color="success" label="Active" />