Lightweight, dependency-free UI kit compiled from a single Sass entry. The current bundle includes layout primitives, typography, buttons, badges, categories, and slider/date-range skinning.
- Node.js 18+
- npm
npm install
npm run build
npm run minify:css
npm run minify:jsBuilt assets land in public/:
public/css/hubzz.cssandpublic/css/hubzz.min.csspublic/js/hubzz.jsandpublic/js/hubzz.min.js- docs copied to
public/docs/
Reference the compiled bundle from your app or the included docs:
<link rel="stylesheet" href="/css/hubzz.min.css" />
<script src="/js/hubzz.min.js"></script>Replace the path with your deployment URL (e.g., Vercel). JS auto-initializes the small helper scripts; no extra setup required.
build– compile Sass, bundle JS, copy docs topublic/minify:css– minify CSS bundle via esbuildminify:js– minify JS bundle via esbuilddeploy– deploy with Vercel CLIclean– remove generated assets inpublic/
docs/ HTML showcase and examples
public/ Built assets (generated)
src/hubzz-web-styles/ Sass entry + blocks (source of CSS)
src/js/ Core utilities and component JS
- Buttons:
button,button-stroke,button-black,button-white,button-small,button-circle-stroke - Badges:
status,status-black,status-gray, categoriescategory,category-blue - Layout/typography:
container,section*,hero,h1–h4,info,stage - Slider skin:
.slick-*classes (for use with Slick) - Date range skin:
.DateRangePicker/.SingleDatePickerclasses
The repo is configured for static hosting via Vercel. Build, then run vercel to ship public/. Configure caching and headers in vercel.json as needed.
Latest Chrome, Firefox, Safari, Edge, and modern mobile browsers.