Icons are visual elements used to enhance the meaning of surrounding text or represent an action a user may take. While Icons may be standalone within icon-only Buttons, they're best used with supplementary text. When adding Icons to a UI, be sure to use them consistently to preserve the look and feel of the layout. For example, if one item in a list includes an Icon, then all should include one.
Icon color may be changed if necessary, but be sure to use colors to convey a common semantic meaning. Avoid updating colors to meet the needs of a particular color scheme or theme.
For more information regarding Icon color accessibility, see Color and meaning in the Accessibility tab.
Visual clarity and consistency is important to the user experience. When using Icons, be sure to keep Icon sizes consistent across the page, especially within close groups. Mixing Icon sizes not only disrupts visual clarity, it creates an inconsistent layout flow that increases a user's cognitive load.
By default, Icon color will match the surrounding text, and these colors were carefully chosen from Pluma's semantic color token palette. While we recommend sticking to this default, Icon color can still be overridden with another available color value.
Icon colors map to Pluma tokens to maintain semantic meaning and proper contrast.
If the available Pluma icons don't fit a particular use case, custom icons can be added with the Pluma Image component. Custom icons are subject to the same size styles that Pluma Icons are.
Custom icons can be used in place of a Pluma icon if necessary.
Most of Pluma's icons are outlined, but there are a select few that have filled counterparts. Use filled Icons to show a change in state, such as within an active sidebar navigation link.
Outlined Icons are default.
Filled icons provide stronger visual weight and are used for active or selected states.
Icons are available in four preset sizes: small, medium, large, and extra large.
Icons are available in four preset sizes created to feel comfortable within tighter layouts.
An Icon's size can be set to fill 100% of its parent container, allowing it to scale dynamically within a responsive layout.
An Icon size set to fill scales to match the dimensions of its parent container.
Icons that are used with inline text adjust their vertical position to better visually align with the surrounding text. This behavior is automatically based on whether the Icon is next to an uppercase or lowercase letter but can be changed manually.
Icon alignment will adjust based on its surrounding text.
When an Icon appears without visible supporting text, provide a label that describes its meaning or purpose, not its visual appearance. For more information about creating more accessible Icons, see the Decorative and non-decorative icons section under the Accessibility tab.
Note: Icon labels are not visible to the user. Text below is for example only.