Skip to main content

Status Badge

Demo

zeta-web v0.6.6
Web Components

Indicators are used to show the status of a user or any messages/notifications they might have.

Storybook

https://design.zebra.com/web/storybook/?path=/docs/components-badges--docs

Attributes

NameDescriptionTypeDefault
inverseWhether indicator is to be on an inverse background.Adds an inverse color border to the indicator.booleanfalse
iconIcon to be shown on icon type indicator.Full list of icons can be found at https://zeta-icons.web.app/ Zeta Icons.ZetaIconName"star"
typeWhether to render as a notification or icon indicator."icon" | "notification""notification"
valuestring | true | falsefalse

Inherited Attributes

NameDescriptionTypeDefaultInherited From
sizeSize of component"small" | "medium" | "large""medium"Size
roundedWhether the component is rounded or sharp.When true, rounded will set the border radius of the first child, and any children with class 'contourable-target' to --radius-minimal.Otherwise, this value will be --radius-none.boolean | undefinedtrueContourable

Figma

https://www.figma.com/design/JesXQFLaPJLc1BdBM4sisI/%F0%9F%A6%93-ZDS---Components?node-id=20816-3661