Skip to content
MyAppBuilder
StableBasicVersion 1

Badge

Overview

A small coloured label for a status or category — "Paid", "Overdue", "New". The text can come from data; the colour tone is chosen in the editor.

When to use

  • Order status next to each order title.
  • "New" tag on recently added products.
  • Role of a team member ("Admin").
  • Count of unread items ("3").

When not to use

  • The visitor should click or select it: use Chips or a Button.
  • You need colour to change automatically with the value: use a Table status column or two Badges with visibility rules.

Quick start

  1. Drag Badge where it belongs (two grid columns).
  2. Type the Text or bind it ({{record.status}}).
  3. Choose a Tone: neutral, primary, success, warning or danger.

Properties

Texttext

Label text; can be bound to a field.

Default: New

Example: {{record.status}}

Toneselect

Colour meaning.

Options: neutral — grey, primary — brand colour, success — green, warning — amber, danger — red

Default: primary

The tone cannot be bound to data. To colour by value, add one Badge per status with a "Show only when" rule.

Data binding

Bind Text to the current record's status or category field.

Properties that can use dynamic data: Text.

Responsive behavior

Uses 2 of 12 columns by default. In the Responsive tab you can change visibility, span, dimensions, padding, margin, font, order, alignment, direction separately for tablet and mobile.

Permissions

Use the Permissions tab to choose which app roles receive this component; the server leaves it out for everyone else. This hides the component, not the data it shows — record access is set under Users → Roles & permissions.

Examples

Colour by status

Example
Badge "Paid" (tone: success) — Show only when record.status = paid
Badge "Overdue" (tone: danger) — Show only when record.status = overdue

Common patterns

  • Place a Badge in a Row after a Heading or Text.
  • Use neutral for categories and success/warning/danger for states that need attention.

Limitations

  • No icon inside the badge; put an Icon next to it in a Row.
  • Not clickable.

Related

Was this helpful?