Turn Figma icons into a CSS sprite sheet
Select your icons in Figma and UIXport packs them into one PNG sprite sheet, plus a CSS file that positions each icon for you. Set the columns and padding, check the live preview, then download both files as a ZIP. It runs inside Figma and is free with no limit.

How it works
Step 1: Select your icons
Select the icons or frames on the Figma canvas. Each selected layer becomes one cell in the sheet. With nothing selected, the tool shows No Frames Selected.
Step 2: Open CSS Sprite
In UIXport, open the Dev tools tab. CSS Sprite is the first tool in the Tools list and opens by default.
Step 3: Generate the sheet
Click Generate Sprite Sheet. UIXport exports each layer as a PNG at 1x and packs them into a grid.
Step 4: Adjust the grid
Under Grid settings, set Cell columns (2 to 12) and Cell padding (0 to 32 px). The sheet re-packs straight away, and Live sprite preview shows the result. Click the preview to zoom in.
Step 5: Download or copy
Click Download ZIP Bundle to save spritesheet-assets.zip, which holds spritesheet.png and spritesheet.css. To paste the rules into existing code instead, use Copy CSS under Sprite CSS Rules.
Why use it
One file for a whole icon set
Every icon sits in a single PNG, so a page loads one image instead of one request per icon.
Offsets worked out for you
Each icon gets its own class with its width, height and background-position. You do not measure pixel offsets by hand.
A tidy grid, even with mixed sizes
Every cell is the size of the largest icon plus padding on both sides, and each icon is centred in its cell. Icons of different sizes still line up.
Try layouts without exporting again
Changing Cell columns or Cell padding re-packs the PNGs UIXport already has. You can test a wide or tall sheet without running another export.
No limit on Free
Generate and re-generate as many sheets as you like on the Free plan, with 4 icons or 40.
Your icons stay in Figma
Exporting, packing and zipping all happen inside the plugin. Nothing is uploaded to a server.
Specs
| Where | Dev tools tab, CSS Sprite |
|---|---|
| Input | Selected Figma layers, exported as PNG at 1x |
| Cell columns | 2 to 12 (default 4) |
| Cell padding | 0 to 32 px in steps of 2 (default 8 px) |
| Cell size | Largest icon plus padding on both sides, each icon centred |
| Output | spritesheet-assets.zip with spritesheet.png and spritesheet.css |
| CSS | Base class .ex-sprite, plus one .ex-sprite-{name} class per icon with width, height and background-position |
| Not included | Retina (2x) sheet, SCSS, JSON or SVG sprite |
| Plan | Free, no limit |
| Runs | Inside Figma. Nothing is uploaded |
Questions about CSS sprite generator
How do I use the sprite sheet on my site?
Put spritesheet.png and spritesheet.css in the same folder, since the CSS refers to the PNG by file name, and link the CSS file. Then give an element two classes: ex-sprite and ex-sprite- followed by the icon name. Spaces and symbols in the layer name become underscores, so check the class names in spritesheet.css (or under Sprite CSS Rules).
Can I make a retina (2x) sprite sheet?
No. Icons are exported at 1x only, and there is no 2x sheet, SCSS, JSON or SVG sprite output. If you need icons that stay sharp on high-density screens, look at the icon font or SVG export instead.
Is there a limit on sprite sheets?
No. Generate Sprite Sheet and Re-Generate are free and unlimited, whatever the number of icons. Changing Cell columns or Cell padding afterwards does not export again.
Why are some cells much bigger than the icon inside?
Every cell is sized to the largest selected icon plus the padding, and smaller icons are centred in that space. To keep a sheet compact, generate separate sheets for icons of similar size.
Are my icons uploaded anywhere?
No. The PNG export, packing and ZIP are built inside the plugin. Your icons never leave your computer. The only data UIXport sends goes to its license server: your Figma user ID, plus your email or license key if you enter them.
Try UIXport free in Figma
Install the plugin from Figma Community. Free includes unlimited core exports and 10 Pro runs a month; Pro adds motion export, print-ready PDFs, AVIF and more.