Example Component Library
Gallery
…
Demo Components
Badge
Demo Components
Badge
Default Badge
/
Default Theme
Dark Theme (unsupported)
Theme restricted
Documentation
Sandbox
Documentation
Badge
Theme restricted
This component only supports Default Theme.
Variant
Default Badge
Preview
Copy
{%
badge
"New"
%}
Parameters
Name
Type
Requirement
Default
Choices
Description
text
str
Required
—
—
The badge text.
Sandbox
Default Badge
Default Badge
Maximal
System Status Indicator
Dynamic Unread Counter
Select variant preset
Light Grey
White
Light Grey
Dark Grey
Black
Checkerboard
Background colour
Responsive
Responsive
Small mobile — 320px
Large mobile — 414px
Tablet — 768px
Desktop — 1024px
Full HD — 1920px
Ultrawide — 2560px
Viewport width
100%
50%
75%
100%
125%
150%
200%
Zoom level
Outline
Measure
RtL direction
Reset
Open in new tab
Theme restricted
This component only supports Default Theme.
Preview
Template
HTML
Template Source
Copy
{%
badge
"New"
%}
Output HTML
Copy
<
span
class
=
'badge '
>
New
</
span
>
text
*
The badge text.