Iconography
The Casper UI icon set and how to use icons.
How we use icons to support recognition and save space, without replacing clear text.
Icon set
Section titled “Icon set”Icons are designed in the Casper UI Figma file (Caspeco login required) and available in code through the Icon component.
To be written: The icon style (stroke, grid, corners) and how icons are named.
To be written: The icon sizes and when to use each, including pairing with text sizes.
Icons with text
Section titled “Icons with text”To be written: When to pair icons with labels, and placement and spacing.
Icon-only controls
Section titled “Icon-only controls”To be written: When an icon alone is clear enough, and the requirement for an accessible label and tooltip.
To be written: Which color tokens to use for icons, and when icons may carry semantic color.
Requesting new icons
Section titled “Requesting new icons”To be written: How to request or contribute a new icon. Developers: see “How to add new icons” in the library README.
Tokens
Section titled “Tokens”Icon size tokens are listed in ThemeIconSize.