# @unocss/vite

> The Vite plugin for UnoCSS

Latest version **66.10.5** (published 2026-09-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @unocss/vite
pnpm add @unocss/vite
yarn add @unocss/vite
bun add @unocss/vite
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 66.10.5 |
| Published | 2026-09-16 |
| First published | 2021-10-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 9 |
| Unpacked size | 41.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 18965 |
| Author | Anthony Fu <anthonyfu117@hotmail.com> |
| Maintainers | antfu, unocss-bot, zyyv |
| Keywords | unocss, vite, vite-plugin |

## Links

- npm: https://www.npmjs.com/package/@unocss/vite
- Repository: https://github.com/unocss/unocss
- Homepage: https://unocss.dev
- Issues: https://github.com/unocss/unocss/issues
- Funding: https://github.com/sponsors/antfu
- npm.io page: https://npm.io/package/@unocss/vite

## Dependencies (9)

- [pathe](https://npm.io/package/pathe.md) ^2.0.3
- [chokidar](https://npm.io/package/chokidar.md) ^5.0.0
- [tinyglobby](https://npm.io/package/tinyglobby.md) ^0.2.17
- [@unocss/core](https://npm.io/package/@unocss/core.md) 66.10.5
- [magic-string](https://npm.io/package/magic-string.md) ^1.4.1
- [@unocss/config](https://npm.io/package/@unocss/config.md) 66.10.5
- [unplugin-utils](https://npm.io/package/unplugin-utils.md) ^0.3.2
- [@unocss/inspector](https://npm.io/package/@unocss/inspector.md) 66.10.5
- [@jridgewell/remapping](https://npm.io/package/@jridgewell/remapping.md) ^2.3.5

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 66.10.5 (latest) — 2026-09-16
- 66.10.4 — 2026-09-15
- 66.10.3 — 2026-09-15
- 66.10.2 — 2026-09-11
- 66.10.1 — 2026-09-09
- 66.10.0 — 2026-09-04
- 66.9.2 — 2026-09-02
- 66.9.1 — 2026-09-01
- 66.8.1 — 2026-08-21
- 66.8.0 — 2026-08-19
- 66.8.0-beta.1 — 2026-08-19
- 66.7.5 — 2026-07-07
- 66.7.4 — 2026-06-29
- 66.7.4-beta.1 — 2026-06-29
- 66.7.3 — 2026-06-26
- … 446 more at https://npm.io/package/@unocss/vite/versions

## README

# @unocss/vite

The Vite plugin for UnoCSS. Ships with the `unocss` package.

## Documentation

Please refer to the [documentation](https://unocss.dev/integrations/vite).

## License

MIT License &copy; 2021-PRESENT [Anthony Fu](https://github.com/antfu)

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