create-alignui-app
v1.2.0
Published
CLI to scaffold a Next.js project with AlignUI v1.2 design system
Downloads
7
Maintainers
Readme
create-alignui-app
CLI to scaffold a Next.js project with the AlignUI v1.2 design system — fully configured and ready to use.
Usage
npx create-alignui-appWhat it does
- Creates a new Next.js project (TypeScript, App Router, Tailwind CSS v4)
- Installs AlignUI dependencies (
clsx,tailwind-merge,tailwind-variants,@remixicon/react, Radix primitives,cmdk,sonner,date-fns, etc.) - Sets up AlignUI utility functions (
cn,tv,recursiveCloneChildren,Polymorphic) - Adds the full AlignUI base component library to
src/components/ui - Adds AlignUI hooks to
src/hooks - Adds 117 PRO blocks (ready-made compositions) to
src/components/blocks - Configures
globals.csswith full AlignUI design tokens (colors, typography, shadows, animations, dark mode) - Configures
layout.tsxwith Inter font - Sets up VSCode IntelliSense for Tailwind classes
Options
During setup you'll be prompted for:
- Project name — name of the directory to create
- Primary color — Blue, Purple, Orange, or Sky
- Neutral color — Gray or Slate
- Dark mode — enable/disable dark mode support
- Package manager — npm, pnpm, yarn, or bun
After scaffolding
cd your-project-name
npm run devThen start adding AlignUI components to your app.
The base component files are already available locally in src/components/ui.
PRO blocks (ready-made UI compositions like auth cards, tables, modals, filters, etc.) are in src/components/blocks.
License
MIT
