Skip to content
Xerobi Icons

Guides

Short, practical answers to the questions designers and developers ask most about icons.

How to use Xerobi Icons icons in Figma

Copy or download any Xerobi Icons icon as SVG or PDF and use it in Figma, Sketch, Illustrator or Framer as an editable vector, in any of six weights.

How to change icon color and size

Change the color and size of Xerobi Icons icons in React, Vue, web components, CSS icon fonts, inline SVG, Flutter, SwiftUI and Jetpack Compose, with code for each.

SVG icons vs icon fonts: which should you use?

SVG icons and icon fonts compared on color, duotone, accessibility, performance and setup, with a clear recommendation for each kind of project.

How to choose an icon weight

Which icon weight to use where: stroke widths, best sizes and typical uses for thin, light, regular, bold, fill and duotone icons, with examples.

How to use icons in Next.js

Add Xerobi Icons icons to a Next.js app: install the React package, use icons in Server and Client Components, set defaults, and keep the bundle small.

How to make icons accessible

When to hide icons with aria-hidden, when to label them with aria-label, and the contrast and size rules to follow, with code for web, iOS and Android.

How to use icons with Tailwind CSS

Style icons with Tailwind CSS: size with size-6, color with text-*, plus hover and dark mode, in React, Vue, plain HTML and the Xerobi Icons icon font.

How to choose an open source icon library

A checklist for choosing a free icon library: license, coverage, weights, platform packages, bundle size and upkeep, with honest notes on Xerobi Icons.

Use Xerobi Icons from AI coding tools with the MCP server

Add the free Xerobi Icons MCP server to Claude, Cursor or VS Code so your AI assistant can search 6,054 icons and insert SVG or React, Vue, Flutter, SwiftUI and Compose code.