To help some information, labels, or errors stand out, we present them with badges. They can look like buttons, but users can’t select them. They just guide users to things they should pay attention to.
Slot
Text displayed on label.
Part
container - The top level div making up the component.
Part
icon-container - Wrapper around the icon.
Part
text - The div wrapping the text of either the label or the slot.
Invoked on each update to perform rendering tasks. This method may return
any value renderable by lit-html's ChildPart - typically a
TemplateResult. Setting properties inside this method will not trigger
the element to update.
To help some information, labels, or errors stand out, we present them with badges. They can look like buttons, but users can’t select them. They just guide users to things they should pay attention to.
Slot
Part
container - The top level div making up the component.
Part
icon-container - Wrapper around the icon.
Part
text - The div wrapping the text of either the label or the slot.
Figma
https://www.figma.com/file/JesXQFLaPJLc1BdBM4sisI/🦓-ZDS---Components?type=design&node-id=21836-37274
Storybook
https://design.zebra.com/web/storybook/?path=/docs/components-badges--docs