# @iconsauce/mgg-icons

> This plugin is created to work with iconsauce

Latest version **1.2.0** (published 2025-07-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install @iconsauce/mgg-icons
pnpm add @iconsauce/mgg-icons
yarn add @iconsauce/mgg-icons
bun add @iconsauce/mgg-icons
```

## Health

**Score 40/100 (D)** — status: stable.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2025-07-04 |
| First published | 2022-02-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Vittorio Vittori |
| Maintainers | vitto, nicola.tamburini.maggioli |
| Keywords | plugin |

## Links

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

## Dependencies (1)

- [@maggioli-design-system/svg-icons](https://npm.io/package/@maggioli-design-system/svg-icons.md) ^4.0.0

## Recent versions

- 1.2.0 (latest) — 2025-07-04
- 1.1.0 — 2025-03-10
- 1.0.9 — 2022-03-16
- 1.0.8 — 2022-03-15
- 1.0.7 — 2022-03-15
- 1.0.6 — 2022-03-15
- 1.0.5 — 2022-02-24
- 1.0.4 — 2022-02-24
- 1.0.3 — 2022-02-24
- 1.0.2 — 2022-02-24
- 1.0.1 — 2022-02-17
- 1.0.0 — 2022-02-17

## README

# @iconsauce/mgg-icons

This plugin scrapes **Maggioli SVG Icons** collected by [@maggioli-design-system/svg-icons](https://www.npmjs.com/package/@maggioli-design-system/svg-icons) which contains svg versions.

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

```js
module.exports = {
  content: [
    './src/**/*.{tsx,ts}',
  ],
  fontSize: '24px',
  plugin: [
    require('@iconsauce/mgg-icons'),
  ],
}
```

You will be able to use these icons in your project.

```jsx
const Component = () => {

  const icon = 'mgg/adv-denied'

  return <section className={ icon }>
    <div className="grid desktop:grid-cols-4 mgg/logo-gpl tablet:grid-cols-2 grid-cols-1 desktop:gap-6 gap-12 desktop:auto-rows-fr desktop:items-end">
      <i className="mgg/isbn"/>
      <span className='bg-adjust-tone-01/24 mgg/terminal'/>
      <div>
        <footer title="mgg/signpost"></footer>
      </div>
    </div>
  </section>
}
export default Component
```

This plug-in will generate only icons used:

```css
@font-face {
  font-family: "iconsauce";
  src: url("data:font/truetype;charset=utf-8;base64,A...Z") format("truetype");
}

[class^="mgg/"], [class*=" mgg/"] {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: "iconsauce" !important;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.mgg\/adv-denied::before { content: "\ea01"; }
.mgg\/isbn::before { content: "\ea02"; }
.mgg\/logo-gpl::before { content: "\ea03"; }
.mgg\/signpost::before { content: "\ea04"; }
.mgg\/terminal::before { content: "\ea05"; }
```

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

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