Skip to content

KGroupBadge ​

示例 ​

Group Badges

engineering
design
marketing
sales5:1

Displays a group name as an auto-colored status badge with an optional ratio badge.

Props ​

NameTypeDefaultDescription
groupstring | nullnullGroup name used to auto-determine the badge color. Falls back to "Unknown".
labelstring—Optional label override. Defaults to the group value.
rationumber | nullnullOptional numeric ratio displayed in a secondary badge next to the status badge.

Emits ​

NameParametersDescription
——This component does not emit custom events.

Slots ​

NameDescription
—This component does not provide slots.

Basic Usage ​

engineering3