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

PropertyAttributeRequiredDescriptionTypeDefault
colorcolorfalseControls the background color"danger" | "info" | "neutral" | "primary" | "success" | "warning"'neutral'
fillfillfalseControls the fill style"outline" | "solid"'solid'

Slots

NameDescription
defaultthe text

Parts

NameDescription
badgecan be used to style the badge contents.

Dependencies

Depends on

This documentation page generated from the source at fun-badge.tsx

Search Gunnel

Powered byAlgolia