Name Description Size Coverage
moz-badge.css Use outline so the border doesn't overlay the background and the size of the badge doesn't increase 1168 -
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") 2062 100 %
moz-badge.nova.tokens.json 686 -
moz-badge.stories.mjs 1216 -
moz-badge.tokens.css DO NOT EDIT this file directly, instead modify moz-badge.tokens.json and run `mach buildtokens` to see your changes. 2315 -
moz-badge.tokens.json 1101 -