Skip to content

RoleBadge

The badge of a role, which its holders may show on their profile. The label is the staff’s own text, the same in every locale: clients show it as user content (dir="auto"), never translated.

object
label
required

The name on the badge, 1 to 32 characters on one line; white space around it is removed.

string
>= 1 characters <= 32 characters
color
required

The color of a role badge: the name of a pair of the web client’s design tokens for its background and its text, which keep their contrast in the light and the dark theme. Server themes do not change them. The color is decoration; the badge’s label carries its meaning.

string
Allowed values: neutral red orange yellow green teal blue purple pink

Example generated

{
"label": "example",
"color": "neutral"
}

For LLMs and coding agents:llms.txt,llms-full.txt, llms-small.txt

Analytics on this site