Badge

The Radzen Blazor Badge component is a small graphic that displays important information, like a count or label, within a user interface. It's commonly used to draw attention to something or provide visual feedback to the user.

These demos display badges with various styles (primary/secondary/success/danger/warning/info/light/dark), shades (lighter/light/default/dark/darker), variants (filled/outlined/text), pill shapes, and custom child content for flexible visual indicators.

Badge Style link

To set a predefined badge style, use the BadgeStyle property, e.g. BadgeStyle="BadgeStyle.Primary".

Primary Secondary Base Info Success Warning Danger Light Dark

Badge Shade link

Each badge style, except Light and Dark, comes with a set of shades. Use the Shade property, e.g. Shade="Shade.Lighter".

Primary Secondary Base Info Success Warning Danger
Primary Secondary Base Info Success Warning Danger
Primary Secondary Base Info Success Warning Danger
Primary Secondary Base Info Success Warning Danger

Badge Variant link

Each badge style and shade can be used with different badge variants. Use the Variant property, e.g. Variant="Variant.Outlined".

Flat Outlined Text
Flat Outlined Text
Flat Outlined Text
Flat Outlined Text
Flat Outlined Text

Pill link

Use IsPill="true" for pill-shaped badges.

Flat Outlined

Child Content link

Define custom content with ease.

bug_report No Bugs Found
✨ 오늘의 명언 & 마음의 양식

“당신의 삶은 당신의 생각으로 만들어진다.”

— 마르쿠스 아우렐리우스 (로마 황제, 철학자)
On this page

Demos Configuration

Premium Themes

  • Material 3
  • Material 3 Dark
  • Fluent
  • Fluent Dark

Free Themes

  • Material
  • Material Dark
  • Standard
  • Standard Dark
  • Default
  • Dark
  • Humanistic
  • Humanistic Dark
  • Software
  • Software Dark
An error has occurred. This app may no longer respond until reloaded. Reload 🗙