Badges are read-only indicators used to communicate a category, metadata, a numeric quantity, or a process's current state.
showStatusIndicator) — adds a colored dot. Use for a process state within a lifecycle, such as success or failure.color) — grey, accent, neutral-outline, accent-outline, red, raspberry, clementine, yellow, green, teal, blue, plum, purple, plus the semantic values neutral, critical, caution, success, and information. Defaults to neutral (grey).neutral, critical, caution, success, information) when the color conveys meaning, since those carry consistent meaning across the application. Use the raw hues for non-semantic categorization.bold) — defaults to true. Set bold={false} where the Badge should be less visually prominent. Light text is not available on a status Badge.truncate) keeps the Badge on a single line and clips overflowing text with an ellipsis — use it in a fixed-width context such as a table column. Keep the label short enough to stay understandable when clipped.children. Ember passes it through the default block: <PlumaBadge>Text</PlumaBadge>.bold={false}; there is no weight prop.showStatusIndicator restricts color to red, yellow, green, blue, purple, grey, or a semantic value. Any other color throws a runtime error.showStatusIndicator requires bold to stay true (the default). Combining it with bold={false} throws a runtime error.color with showStatusIndicator resolves to neutral, which renders a grey dot.neutral = grey, critical = red, caution = yellow, success = green, information = blue. purple is the one indicator color with no semantic alias. Test helpers report semantic values via getSemanticColor() and the underlying hue via getColor().Box, so truncate and the other Box sprinkle props are available on it. Badge does not define truncate itself.<span>, valid in text flow (paragraphs, headings, links, buttons). Pass as to render a different element where the surrounding document structure calls for one.