Use the icons in Figma & design tools
Design tools can't run the hover motion, so they use each icon's rest pose as a static file. The icon browser exports SVG and PNG files with plain hex colors, which Figma, Sketch and other design tools read correctly.
Choose the color first
Open the icon browser. In the toolbar, pick the accent color, either a swatch or your own hex value, and the variant, Color or Soft. Every copy and download uses these settings, so set them before you export. Mixed gives each icon its own color from the palette.
Copy into Figma
Click an icon to open its panel, then click Copy SVG. Paste into Figma with ⌘V or Ctrl+V: Figma turns pasted SVG markup into vector layers that you can resize and edit. Badged icons copy with the badge color chosen in the panel.
Download SVG or PNG
The same panel has two download buttons:
- SVG downloads a vector file named after the icon, such as
folder.svg. Use it in Figma, Sketch, Illustrator or anywhere that imports SVG. - PNG downloads a 512×512 image, for slides, documents and tools that don't accept SVG.
Exported files include a small margin around the icon for its drop shadow.
Save a set as a ZIP
To export many icons at once, click the bookmark button in each icon's panel to save it to your collection. The collection stays in this browser. Once an icon is saved, a bar appears at the bottom of the page; click the saved count to open the collection, where you can:
- set one color, or Mixed, and one variant for every saved icon;
- choose SVG or PNG, then click Download ZIP;
- click Copy link to open the same collection on another device or share it with a teammate.
Ready-made sets for common products are in Collections.
Line and two-tone icons from Iconify
The line and two-tone icons are also in the Iconify plugin for Figma, as Kubai Line and Kubai Two-tone. The plugin imports them as vectors in one color you pick. The Iconify guide shows how to install it and find the sets.
Any color by URL
Every icon is also available as an SVG at a stable address, in any accent color. This suits tools that import images from a URL, and agents that can't install packages:
https://icons.kubai.design/api/icon/folder.svg?color=EC4899&variant=soft&size=512color: a six-digit hex value, with or without the#. Default: 5393FF.variant:colororsoft.badge:semanticor a hex value, for badged icons.size: width and height in pixels, from 16 to 2048. Default: 96.
Every icon as files
For a full local copy, for example to build an asset library or bundle icons into a native app, install the static package:
npm install kubai-icons-staticsvg/ holds every icon in the default blue (#5393FF) and svg-soft/ every icon in the soft variant. icons.json lists each icon's category and tags. Each file includes a margin for the drop shadow, so to match an animated icon shown at 24px, place the file at 28px.
Xcode draws many of these files blurry at larger sizes. For iOS and macOS apps, use the Swift package, which draws the icons natively in all three styles.
Questions
Is there a Figma plugin?
Not from Kubai Icons. The line and two-tone icons are in the Iconify plugin for Figma. For layered icons, copy SVG from the icon browser and paste it into Figma, or import downloaded SVG files.
Do exported files keep the animation?
No. SVG and PNG exports show the icon's rest pose. The motion runs only in the React, Vue, Svelte, Solid, JavaScript and Swift packages and the web component.
Can I edit the icons and use them in commercial work?
Yes. The icons are MIT licensed: you can use, change and redistribute them, commercially or not. Keep the copyright notice with the source files.
Why does a downloaded icon look smaller than the live one at the same size?
Files include a margin for the drop shadow. A file shown at 28px matches a live icon at 24px.