# postcss-iconsauce

> PostCSS plugin for Iconsauce

Latest version **2.0.1** (published 2026-10-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install postcss-iconsauce
pnpm add postcss-iconsauce
yarn add postcss-iconsauce
bun add postcss-iconsauce
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2026-10-02 |
| First published | 2022-02-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20.19 |
| Dependencies | 1 |
| Unpacked size | 5.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1 |
| Maintainers | vitto, nicola.tamburini.maggioli |
| Keywords | font, icon, iconsauce, postcss, postcss-plugin |

## Links

- npm: https://www.npmjs.com/package/postcss-iconsauce
- Repository: https://github.com/iconsauce/postcss-iconsauce
- Homepage: https://github.com/iconsauce/postcss-iconsauce#readme
- Issues: https://github.com/iconsauce/postcss-iconsauce/issues
- npm.io page: https://npm.io/package/postcss-iconsauce

## Dependencies (1)

- [@iconsauce/core](https://npm.io/package/@iconsauce/core.md) ^2.0.1

## Alternatives

- [@fortawesome/react-fontawesome](https://npm.io/package/@fortawesome/react-fontawesome.md) — 2.2M weekly downloads
- [roboto-fontface](https://npm.io/package/roboto-fontface.md) — 196.0K weekly downloads
- [@react-native-vector-icons/common](https://npm.io/package/@react-native-vector-icons/common.md) — 150.4K weekly downloads
- [stockfish](https://npm.io/package/stockfish.md) — 27.0K weekly downloads
- [@procore/core-icons](https://npm.io/package/@procore/core-icons.md) — 4.6K weekly downloads

## Recent versions

- 2.0.1 (latest) — 2026-10-02
- 2.0.0 — 2026-09-07
- 1.4.1 — 2024-02-02
- 1.4.0 — 2022-07-21
- 1.3.0 — 2022-03-17
- 1.1.1 — 2022-03-05
- 1.0.6 — 2022-03-05
- 1.0.5 — 2022-03-02
- 1.0.4 — 2022-03-01
- 1.0.3 — 2022-03-01
- 1.0.2 — 2022-03-01
- 0.3.1 — 2022-02-27
- 0.3.0 — 2022-02-27
- 0.2.0 — 2022-02-26
- 0.1.3 — 2022-02-26
- … 10 more at https://npm.io/package/postcss-iconsauce/versions

## README

# postcss-iconsauce

For more infos go to [iconsauce docs][iconsauce-docs].

#### Installation

To install iconsauce you'll need to run this command

```
npm i --save-dev @iconsauce/core postcss-iconsauce autoprefixer
```

#### PostCSS config

Place a `postcss.config.js` into the root of your project:

```js
module.exports = {
  plugins: [
    require('postcss-iconsauce'),
    require('autoprefixer'),
  ],
}
```

#### CSS entry point

To let iconsauce builds, it needs a css entrypoint with a special `at-rule` inside:

```css
@iconsauce;

/* You can also add more code for icons here */
```

At this point, how PostCSS is integrated in yout build system depends on the framework you are using, we will add more reproducible example as soon as possibile:

* create-react-app
* Next
* Angular

#### PostCSS CLI

If you want to use iconsauce from CLI with PostCSS, install an additional dependency:

```
npm i --save-dev postcss-cli
```

Now you can add a script to build in your `package.json` file.

```json
"scripts": {
  "build:iconsauce": "postcss src/styles/iconsauce.css -o public/styles/iconsauce.css"
}
```

[iconsauce-docs]: https://iconsauce.github.io/docs/

---
_Source: https://npm.io/package/postcss-iconsauce · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
