Warning
This is still a beta version; no feature compatibility is guaranteed.
puff is a micro full-featured CSS framework for quick UI prototyping. puff is based on design tokens. Combining just several tokens gives an almost limitless number of UI combinations.
- 🪶 Lightweight ~2kb (minified + gzipped)
- 🚀 Easy to install and launch
- 🚂 No dependencies
- 🌐 Supports all modern browsers
- 📐 Classic 12-column grid
- 🧱 Design tokens based
- 🔩 Customize with CSS custom properties
- 🌙 Dark them included
- 💬 Dialog and dropdown out-of-box
- 🟩 Valid semantics
- 👨👩👦👦 Accessible
- 🖨️ Sustainable printing
Installation is straightforward; just include the CSS file into your HTML page in any possible way.
<link rel="stylesheet" href="puff.min.css" />
or install it from NPM.
npm install @dknight/puff
For detailed usage instructions, please go to the documentation page.
npm run build
npm run watch
npn run serve
Any help is appreciated. Found a bug, typo, inaccuracy, etc.? Please do not hesitate to make a pull request or issue.
MIT 2023