Search the design system

Components – legacy

Badge

Play around with props, edit and copy code.

Properties

Badge

Prop nameTypeDefault ValueDescription
brandingunion'default'Branding, buildt in support for default, red and orange.
sizeenum'standard'Size of the badge, defaults to standard.
bounceboolSet bounce to true to run keyframe animation of bounce.
childrennodeContent
classNamestringCustom css classes.
hideboolPrepare to animate, adds visibility: hidden.

Accessibility

This component has been validated to meet the WCAG 2.1 AA accessibility guidelines.

Additional information regarding accessibility of this component below.

  • Badge is a normal span element with text inside which doesn’t have any added functionality for assistive technologies.

Read more about WCAG 2.1 AA.

ComponentsBadge / Usage
ComponentsBrands / Usage

© DesignTech - AB Svenska Spel

What's newTerms of useAccessibility statementCookiesTeams channel [Internal]
@svs/ui version
2.3.0

Feedback

We always want to improve the Design System and would be thrilled to get your feedback.

Please share your wisdom with us.

Microsoft Teams [internal]

Designsystem@svenskaspel.se