XLQP Gen1
ElementsContent & layout

AddBadge

Adds a small colored label for status, category, or emphasis.

AddBadge

What it does

Adds a small colored label for status, category, or emphasis.

When to use it

Use it to mark states such as Beta, New, Online, or Premium without adding a full content card.

ElementFunction:AddBadge(BadgeConfig)

Visuals:AddBadge({
    Name = "Preview",
    Text = "Live",
    Color = Color3.fromRGB(73, 230, 133)
})

Behavior and return value

Call this method on the compatible section, tab, panel, or element container shown by the signature. Store the returned value when you need to update, read, or destroy the element later.

Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.