Styling icons

Styling icons

This tutorial shows how to add icons in Mosaic, from the built-in library or your own SVGs, and keep them sized and colored consistently.

Difficulty:
Beginner
Time:
~10 min

Icons finish off a design, but only if they’re sized right and colored consistently with the rest of the page. This tutorial shows how to add and style icons in WordPress, pulling one straight from Mosaic’s library, bringing in your own SVG, and styling icon boxes so they match the rest of your site instead of standing out for the wrong reason.

Add an icon from the library

Add an icon element

Open the Add panel and drop an Icon element into the spot that needs one.

Pick an icon from the library

Select the icon and use the toolbar to browse. Mosaic ships over 1,000 hand-made icons across different styles, search by keyword (for example “chat”) to narrow it down fast.

Set width and height together

In the Style panel, open the unit dropdown for one dimension and set it to Auto. Change the other dimension, and the auto one follows automatically, so the icon stays proportional without setting both by hand.

Use a custom SVG icon

Upload your own SVG

Use the Upload icon button to bring in a custom icon. Mosaic only pulls in the SVG code, so your media library doesn’t fill up with image files.

Or paste an SVG directly

Copy an SVG from somewhere like Figma (right click, copy as SVG) and paste it straight into Mosaic instead of uploading a file.

Recolor with a color variable

The color picker works, but picking a color variable instead keeps the icon in sync with the rest of your site’s palette, change the variable once, and every icon using it updates.

Style icon boxes

Drop in an icon box using the Navigator

When you want that pre-styled background look, add the icon box element from the Navigator.

Switch the element class and subclass

Change the icon’s element class to an icon box class, then pick the subclass that matches your existing icon boxes.

Sync the color to text color

Instead of the color picker or a variable, click the T icon to use the current text color. The icon’s color then follows the Style tab’s Color property automatically instead of being set separately.

Result

Icons now come from wherever makes sense, Mosaic’s built-in library or your own SVGs, sized proportionally with Auto units, and colored consistently through variables or the current text color. Icon boxes pick up the same treatment, so new ones match the rest of the page without manual tweaking.

Last updated: July 13, 2026

Still have more questions? Let us help!

Your cookie preferences

We use cookies to improve your experience, analyze traffic, and personalize content. By clicking "Accept all" you agree to storing them on your device. Read our privacy policy.