ui/richtext/RichTextBanishItem.cs

A RichText panel definition for the UI that matches the regex '\b[Bb]anish-items?\b' and replaces matched text with an icon. It sets an image path, hides the text, and specifies a tint color for the icon.

using Sandbox;

[RichTextPanel( @"\b[Bb]anish-items?\b" )]
public class RichTextBanishItem : RichTextBase
{
	public override string ImagePath => "textures/ui/scissors.png";
	public override bool HideText => true;

	public override Color Color => new Color( 1f, 0.4f, 0.55f );
}