Tesserae

Icons & Emoji

Tesserae exposes a unified, strongly typed icon set through UIcons (Fluent-inspired icon set) and Emoji enums, plus helpers to render them in components.

Icon components

Use Icon(...) to render icons as standalone components:

Factory helpers and icon overloads are defined in UI.Components.cs, with dedicated Icon component support for both UIcons and Emoji.

Using icons in buttons and commands

Many components accept icons directly. For example, Button.SetIcon supports both enums:

Button.SetIcon overloads for UIcons and Emoji are available on the Button component.

Icon enums

  • UIcons is a large icon enum used throughout the component library (sidebar buttons, dropdowns, toolbars, etc.).
  • Emoji is an enum representing emoji glyphs for quick inline usage.

When you pick an enum value, Tesserae converts it into the appropriate CSS class or glyph at render time.

Custom Icons

For using custom icons, you can use any css class via the helper UIconHelper.AsUIcon(...). For example, if you would like to use Font Awesome icons, you could use them as follows:

Just don't forget to import the respective font and css files in your h5.json file.

Referenced by

© 2026 Tesserae. All rights reserved.