fun-badge
Badges convey dynamic information, such as counts or status. A badge can include labels or numbers. They can be used for example
to indicate the number of selected items, or the status of an order, or to label something.
Examples
Specifications
Properties
Property | Attribute | Required | Description | Type | Default |
---|
color | color | false | Controls the background color | "danger" | "info" | "neutral" | "primary" | "success" | "warning" | 'neutral' |
fill | fill | false | Controls the fill style | "outline" | "solid" | 'solid' |
Slots
Name | Description |
---|
default | the text |
Parts
Name | Description |
---|
badge | can be used to style the badge contents. |
Dependencies
Depends on
This documentation page generated from the source at fun-badge.tsx