• Getting Started
  • Components
    • Barcodes
    • Buttons
    • Chartsupdated
    • Conversational UIupdated
    • Data Query
    • Date Inputsupdated
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Filter
    • Gantt
    • Gauges
    • Gridupdated
    • Icons
    • Indicators
    • Inputsupdated
    • Labels
    • Layout
    • ListBox
    • ListView
    • Map
    • Menus
    • Navigation
    • Notification
    • Pager
    • PDF Export
    • PDFViewer
    • PivotGridupdated
    • Popup
    • ProgressBars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • ToolBar
    • Tooltips
    • TreeList
    • TreeView
    • Typography
    • Uploads
    • Utilities
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Sample Applications
  • FAQ
  • Troubleshooting
  • Updates
  • Changelogs
New to Kendo UI for Angular? Start a free 30-day trial

Appearance

The Badge provides a set of predefined appearance options such as various border radius, sizes, theme colors, and optional cutout borders.

The following example demonstrates all available appearance options of the Badge in action.

Example
View Source
Change Theme:

Theme Color

The Badge allows you to specify predefined theme colors. The theme color will be applied as a background and border color while amending the text color accordingly.

The available themeColor values are:

  • primary (Default)—Applies coloring based on the primary theme color.
  • secondary—Applies coloring based on the secondary theme color.
  • tertiary— Applies coloring based on the tertiary theme color.
  • inherit— Applies the inherited coloring value.
  • info—Applies coloring based on the info theme color.
  • success— Applies coloring based on the success theme color.
  • warning— Applies coloring based on the warning theme color.
  • error— Applies coloring based on the error theme color.
  • dark— Applies coloring based on the dark theme color.
  • light— Applies coloring based on the light theme color.
  • inverse— Applies coloring based on the inverted theme color.
Example
View Source
Change Theme:

Rounded

The Badge allows you to set different border radius.

The available rounded values are:

  • small— Sets the border radius to 1px.
  • medium (Default)— Sets the border radius to 2px.
  • large— Sets the border radius to 4px.
  • full— Sets the border radius to 9999px.
  • none— The none option removes the built-in roundness. Allows for custom border radius.
Example
View Source
Change Theme:

Size

The Badge allows you to set different sizes.

The available size values are:

  • small
  • medium (Default)
  • large
Example
View Source
Change Theme:

Fill

The Badge enables you to set styling options and create solid or outline badges by setting the fill property.

The available fill values are:

  • solid (Default)
  • outline
Example
View Source
Change Theme:

Cutout Border

The Badge allows you to specify whether or not to render an additional cutout border around its content by using the cutoutBorder property. By default, cutoutBorder is set to false.

Example
View Source
Change Theme: