The OpenIcons Figma plugin lets you search the library, pick a weight and appearance, set colour and size, and insert icons as vectors on the canvas. It runs in Figma, FigJam, Slides, and Buzz. Everything is bundled at build time (no live API), so the catalogue matches the repo's data/icons/ trees.
What you can do:
- Browse the Icons library
- Browse by category or search by name and tags
- Toggle Outline and Filled weights, and Flat, Raised or Drawn appearances
- Set insert colour and pixel size before you click a glyph
- Insert into the viewport or into a selected frame, section, or group
Build the plugin (maintainers)
Clone the useicons repository, install dependencies, then build the plugin from the repo root. This inlines every icon into plugin/ui.html and compiles the plugin backend.
pnpm install
cd packages/icons-figma/plugin && npm install && cd ../../..
pnpm run build:figmaImport into Figma (development)
- Open the Figma desktop app (recommended for plugin development).
- Go to Plugins → Development → Import plugin from manifest…
- Select
packages/icons-figma/plugin/manifest.jsonfrom your clone. - Run Plugins → Development → OpenIcons to open the panel.
Using the panel
Click a tile to insert it immediately at the current Size and Color. The size is the square's side (default 24px). The Insert button appears when a tile is selected so you can insert again without re-picking.
Full build and troubleshooting steps live in `docs/FIGMA_PLUGIN.md` in the repository.
Panel controls
The plugin UI exposes these settings before you insert an icon:
| Prop | Type | Default | Description |
|---|---|---|---|
| Search | text | - | Filters by icon name and tags |
| Category | pill | All | Narrows the grid using categories.json |
| Weight | Outline | Filled | Outline | Which SVG folder to read from |
| Color | hex | black | Fill colour applied on insert |
| Size | number | 24 | Width and height in px on the canvas |
Icon weights
Every icon comes in two weights, drawn on the same 24 grid with the same shapes, so switching weight never moves anything.
Outline
weight="outline"
Filled
weight="filled"
Plugin footer → Outline / Filled toggle
Then click a glyph to insertAppearances
Each weight renders three ways:
- Flat: the icon as drawn.
- Raised: glossy, engraved ink: a gradient over the icon's own colour with soft inner edges. Painted at runtime, so it follows
color. - Drawn: the icon redrawn with a seeded hand-drawn pen. Generated from the flat icon, so it always matches.
The Figma plugin only inserts flat vectors. Use the demos below (React) to compare raised and drawn in the library.
Flat
appearance="flat"
Raised
appearance="raised"
Drawn
appearance="drawn"
Plugin inserts flat outline/filled SVGs only.
Preview raised & drawn on the site or in code packages.Morphing
Morphing is not built into the Figma plugin. Use the playground's Morph lab to preview any pair, export GIF or video, or copy a React or Flutter toggle snippet.
Outline
Heart ↔ Star
Filled, raised
raised
Plus ↔ X
rotation from geometry
Styling & colour
Use the plugin's Color control before inserting. The chosen hex is applied as the vector fill on the canvas. Change size with the footer Size field (pixels).
Accessibility
Inserted icons are plain vector layers. Name frames and groups clearly in your file, and add text alternatives in your design specs or prototype annotations when an icon conveys meaning (for example an icon-only button).
When you hand off to engineering, use the same icon names as in the repo (bell, arrow-up-right) so React and Flutter implementations stay aligned.
Performance
- The catalogue is inlined at build time into
ui.html, so the plugin works offline and starts quickly once loaded. - After you add or rename icons in the repo, run
pnpm run build:figmaso the plugin bundle stays in sync. - Very large catalogues increase the plugin bundle size; search and category filters keep the grid manageable in the UI.
Adding icons
Contributing an icon means drawing two SVGs, outline and filled, with the same file name. Everything else is generated: the drawn appearance, React components, Flutter assets, Compose vectors, and morph data for all three packages. Raised needs no files.
# 1. Draw and save both weights
data/icons/outline/rocket.svg
data/icons/filled/rocket.svg
# 2. Generate drawn, React, Flutter, Compose, morph data and the site's list
pnpm run generate:all
# 3. Build and check
pnpm run build:allThe full guide, including the drawing rules, is docs/ADDING_ICONS.md in the repository.
When you add icons in the repo, run pnpm run build:figma after pnpm run generate:all so the plugin catalogue updates, then re-import the development plugin if Figma still shows the old set.
Troubleshooting
- Database failed to load / empty grid. Run
pnpm run build:figmafrom the repo root and re-import the manifest. - Import errors or old icons. Delete the development plugin and import
packages/icons-figma/plugin/manifest.jsonagain after a fresh build. - Plugin missing from the menu. Use the Figma desktop app and check Plugins → Development.
- Raised looks flat. It's subtle below 32px by design. Check it at 32px or larger.
- An icon is missing. Search the icons page: names follow the file names (
arrow-up-right→ArrowUpRightIcon,OpenbaseIcons.arrowUpRight).