XLQP Gen1
ElementsContent & layout

AddCards

Adds a responsive card grid with optional colors, tags, and actions.

AddCards

What it does

Adds a responsive card grid. Each item can show a title, description, color, tag, and action button.

When to use it

Use it for feature lists, targets, dashboards, or any compact collection of clickable cards.

ElementFunction:AddCards(CardsConfig)

Megalodon:AddCards({
    Name = "Hunt Targets",
    Items = {
        {Title = "Megalodon", Description = "Rare spawn near the trench.", ButtonText = "Track"},
        {Title = "Great White", Description = "Common in open water.", ButtonText = "Track"}
    }
})

Behavior and return value

The returned card controller exposes the created card collection and is registered for normal XLQP updates and cleanup.