The badge can easily be an HTML/CSS only component, but there is no dedicated HTML element for this kind of information. According to proposals in https://github.com/swisspost/design-system/discussions/3287, this element would use a custom name. Depending on the context, aria-live support for incoming messages would be necessary (but not provided by the badge).
Description
Open issues:
Design:
Tokens:
Design
https://www.figma.com/design/JIT5AdGYqv6bDRpfBPV8XR/Foundations-%26-Components-Next-Level?node-id=17-162
Tokens
Proposed structure
The badge can easily be an HTML/CSS only component, but there is no dedicated HTML element for this kind of information. According to proposals in https://github.com/swisspost/design-system/discussions/3287, this element would use a custom name. Depending on the context,
aria-live
support for incoming messages would be necessary (but not provided by the badge).Tasks