| moz-badge.css |
|
933 |
- |
| moz-badge.figma.ts |
|
743 |
- |
| moz-badge.mjs |
@typedef {"default" | "beta" | "new"} MozBadgeType Types of badges for moz-badge.*
/**
A simple badge element that can be used to indicate status or convey simple messages
@tagname moz-badge
@property {string} label - Text to display on the badge, by default inferred from type
@property {string} iconSrc - The src for an optional icon shown next to the label
@property {string} title - The title of the badge, appears as a tooltip on hover
@property {MozBadgeType} type - The type of badge (e.g., "new")
|
2060 |
96 % |
| moz-badge.stories.mjs |
|
1292 |
- |