Badge

Class nameTypeDescription
tc-badgeComponentBadge
tc-badge-pillUtilityPill shape badge

Examples

For an example of a badge inside a button, see the button component.

tc-badge

tc-style-default tc-style-default-o tc-style-content tc-style-inverse tc-style-primary tc-style-primary-o tc-style-secondary tc-style-secondary-o tc-style-info tc-style-info-o tc-style-info-light tc-style-warning tc-style-warning-o tc-style-warning-light tc-style-error tc-style-error-o tc-style-error-light tc-style-success tc-style-success-o tc-style-success-light

tc-badge-pill

tc-style-default tc-style-default-o tc-style-content tc-style-inverse tc-style-primary tc-style-primary-o tc-style-secondary tc-style-secondary-o tc-style-info tc-style-info-o tc-style-info-light tc-style-warning tc-style-warning-o tc-style-warning-light tc-style-error tc-style-error-o tc-style-error-light tc-style-success tc-style-success-o tc-style-success-light

Web component

Badges are available to be used as a web component. Any tc-badge-* utility class can be applied.

Attributes:

  • data-icon: Any valid skin-icon name (optional)
Default badge2 minutes agoDefault badge2 minutes ago