stacks/bun-unocss
publicClone
Push over the same URL. A password will not work: create a token under access tokens and use it in place of one.
The instant on-demand atomic CSS engine.
- .github
- .vscode
- bench
- docs
- examples
- interactive
- packages
- patches
- playground
- scripts
- test
- .attw-esm-only.json 53 B
- .gitattributes 19 B
- .gitignore 519 B
- .npmrc 110 B
- .tazerc.json 310 B
- alias.ts 2.3 KB
- eslint.config.js 1.6 KB
- LICENSE 1.1 KB
- netlify.toml 682 B
- package.json 6.0 KB
- pnpm-lock.yaml 693.6 KB
- pnpm-workspace.yaml 3.7 KB
- README.md 3.6 KB
- tsconfig.json 3.7 KB
- vitest.config.ts 366 B
- vitest.workspace.ts 191 B
The instant on-demand Atomic CSS engine.
💡 I highly recommend reading this blog post -
Reimagine Atomic CSS
for the story behind
📚 Documentation | 🧑💻 Interactive Docs | 🤹♂️ Playground | 🎓 Tutorial
Features
Inspired by Windi CSS, Tailwind CSS, and Twind, but:
- Fully customizable - no core utilities. All functionalities are provided via presets.
- No parsing, no AST, no scanning, it's INSTANT (5x faster than Windi CSS or Tailwind JIT).
- ~6kb min+brotli - zero deps and browser friendly.
- Shortcuts - aliasing utilities, dynamically.
- Attributify mode - group utilities in attributes.
- Pure CSS Icons - use any icon as a single class.
- Variant Groups - shorthand for group utils with common prefixes.
- CSS Directives - reuse utils in CSS with
@applydirective. - Compilation mode - synthesizes multiple classes into one at build time.
- Inspector - inspect and debug interactively.
- CSS-in-JS Runtime build - use UnoCSS with one line of CDN import.
- VS Code extension
- Code-splitting for CSS - ships minimal CSS for MPA.
Documentation
Read the documentation for more details.
Installation
Acknowledgement
UnoCSS is made possible thanks to the inspirations from the following projects:
in alphabetical order
Sponsors
License
MIT License © 2021-PRESENT Anthony Fu