Example Component Library
Demo Components
Card
Layouts Hero
Info card Slotted card
Alert Badge Button Quote oneup Rich button User card
Demo Extra Button
Demo Nav
Cards Info card
Elements Quote oneup Badge
Icon Accessibility
Generic Divider Tooltip
Action button Design guidelines
Demo Single Chip Pill
Gallery / Demo Nav / Elements / Badge Gallery / / Badge
Demo Nav / Elements /
Documentation

Description

A badge — lives directly in elements/ with no folder collapsing.


Usage

Minimal example

{% badge "foo" %}

Bigger example

{% badge "foo" %}

Qualified tag usage

{% demo_nav__elements__badge "foo" %}

Parameters

Name Type Required Default Choices Description
text str Yes — — The badge text.
Sandbox