Skip to content
Version 2.11.0
↓ Get the launcher

PillElement constructor

Rounded pill badge with dynamic text and optional tint colour. Suitable for short status labels (e.g. “Offline”, rank numbers).

public PillElement(Func<string> Text, Func<ColorRgba?>? Color = null)
parameter description
Text Dynamic text displayed inside the pill; re-pulled each refresh.
Color Optional tint override; null (or returning null) uses the framework default pill colour.