API Referenceglobal
PackageFlairclass
A single badge shown over a package's thumbnail.
object→PackageFlair
Constructors1
Showing 1 constructors
public PackageFlair(string Kind, string Icon, string Style, string Tooltip)
A single badge shown over a package's thumbnail.
| Parameter | Type | Description |
|---|---|---|
| Kind | string | What this flair is, e.g. "workshop-approved". Drives the icon/tooltip and lets UI style or de-duplicate them. |
| Icon | string | Material Symbols icon name, e.g. "verified". |
| Style | string | Raw CSS applied inline to the badge, e.g. "background-color: #2d8cf0; color: #fff;". |
| Tooltip | string | Hover text explaining why the flair is shown. |
No results match this filter.
Methods1
Showing 1 methods
public void Deconstruct(string Kind, string Icon, string Style, string Tooltip)
| Parameter | Type | Description |
|---|---|---|
| Kind | string | — |
| Icon | string | — |
| Style | string | — |
| Tooltip | string | — |
Returns:
void—No results match this filter.
Properties4
Showing 4 properties
public string Sandbox.Package.PackageFlair.Icon { get; set; }
Material Symbols icon name, e.g. "verified".
Returns:
string—public string Sandbox.Package.PackageFlair.Kind { get; set; }
What this flair is, e.g. "workshop-approved". Drives the icon/tooltip and lets UI style or de-duplicate them.
Returns:
string—public string Sandbox.Package.PackageFlair.Style { get; set; }
Raw CSS applied inline to the badge, e.g. "background-color: #2d8cf0; color: #fff;".
Returns:
string—public string Sandbox.Package.PackageFlair.Tooltip { get; set; }
Hover text explaining why the flair is shown.
Returns:
string—No results match this filter.