Iconography
Guidance for using Tyler Forge icons in your designs.
Forge uses the Tyler Icons library for every icon in an interface. Icons help users scan and recognize actions, but they work best alongside text, not in place of it. For how to install and register icons in code, see the developer icons page.
When to use an icon
- To reinforce a label. An icon next to a button or menu item label helps users find it faster.
- For familiar actions in tight spaces. Common actions like close, search, edit, delete, and more options can be icon-only buttons in toolbars and table rows.
- To show status. A check, warning, or error icon reinforces a status message.
Use an icon-only button only for actions users already recognize. For a domain-specific or unfamiliar action, use a text button. Give every icon-only button a tooltip with its name.
Sizing
An icon takes the size of the text around it by default, so it lines up with an adjacent label without extra work. Inside components like buttons, icon buttons, list items, and toolbars, the component sets the icon size for you. Only set a size for a standalone icon, like one in an empty state.
Decorative and meaningful icons
- Decorative icons repeat information that’s already in nearby text, like an icon next to a “Save” label. Hide them from assistive technology.
- Meaningful icons are the only way a user gets the information, like an icon-only button or a status icon with no text. Give them an accessible name.
Either way, an icon’s color must meet the same contrast requirements as text. See the icon accessibility guidance for the details.
Color
Icons inherit the color of the text around them. Use the same text emphasis tokens as text, and use a status color only when the icon communicates that status.