mirror of
https://github.com/hanzoai/nextjs-template.git
synced 2026-10-30 18:27:16 +00:00
- @hanzo/gui 8.0.1 -> 8.0.2, @hanzo/ui ^8.0.39 -> ^8.0.47 (the latest pkg.hanzo.ai serves); build + tsc green, prerendered HTML shows real gui-compiled Button markup, not silent unstyled shells - README/LLM.md/hero.svg still sold "Radix UI + Tailwind CSS + shadcn generator" — rewritten to describe the actual stack: @hanzo/ui on @hanzo/gui, theme tokens as plain CSS custom properties, nothing vendored Co-authored-by: Hanzo Dev <[email protected]>
979 B
979 B
nextjs-template
Starter template for Hanzo apps: Next.js App Router + @hanzo/ui components on the @hanzo/gui substrate, theme tokens as plain CSS custom properties, dark mode via @hanzogui/next-theme. No Tailwind, no Radix, no vendored shadcn tree — components are imported from @hanzo/ui, never copied in. Scaffold with npx create-next-app -e https://github.com/hanzoai/nextjs-template.
Structure
src/app/— App Router pages;providers.tsxmountsGuiProvider(with@hanzo/ui/gui-config) +NextThemeProvider.src/components/— app chrome (header, nav, icons) built from@hanzo/uiimports.src/style/globals.css— app-level CSS on top of@hanzo/ui/theme.csstokens.next.config.mjs— transpiles@hanzo/gui/@hanzo/ui/ every installed@hanzogui/*, aliasesreact-native→react-native-web, resolves.web.*first.
Commands
- Dev:
pnpm dev - Build:
pnpm build - Typecheck:
pnpm tc
Full docs: README.md