A modern, high-performance website template built with Next.js 16.1.6, React 19, Tailwind CSS 4, and Jotai for state management.
- Modern Tech Stack: Built on the latest Next.js 16.1.6 and React 19.
- State Management: Atomic state management with Jotai and persistent storage support.
- Shopping Cart: Fully functional cart UI with sidebar, item management, and total calculations.
- Instant Search: Command-style search menu (Cmd+K) with interactive results.
- Styling: Tailwind CSS 4 with OKLCH color space for rapid and efficient styling.
- Typography: Outfit font family via Google Fonts with optimal loading.
- Animations: Smooth entrance and interaction animations using Motion (
motion/react). - SEO Ready: Comprehensive metadata, dynamic sitemaps, robots.txt, and JSON-LD structured data built-in.
- PWA Support: Web manifest configured for mobile-readiness.
- Accessibility: Semantic HTML and accessible UI components using Base UI and Radix UI primitives.
- Modular Architecture: Component-based structure for easy maintenance and scalability.
- Next.js 16.1.6 - React framework with App Router
- React 19.2.4 - UI library
- Jotai - Primitive and flexible state management
- Tailwind CSS 4 - Utility-first CSS with OKLCH colors
- Motion - Animation library
- shadcn/ui - Modern UI components
- Tabler Icons - Icon library
- Sonner - Toast notifications
- TypeScript 5.9.3 - Type safety
-
Install dependencies:
pnpm install
-
Run the development server:
pnpm dev
-
Open http://localhost:3000 with your browser.
# Build and run with docker-compose
docker-compose up -d
# View logs
docker-compose logs -fConfiguration: Set NEXT_PUBLIC_DOMAIN_NAME in .env file (see .env.example).
For detailed Docker documentation, see DOCKER.md.
app/: App Router core (pages, layouts, SEO generators)components/:ui/: 56 atomic shadcn/ui componentslayout/: Structural parts (Header, Footer, SearchMenu)cart/: Shopping cart sidebar and logicsections/: Modular page modules (Hero, FeaturedProducts)products/: Product-specific client components
lib/:store/: Jotai atoms for global state (Cart, UI)hooks/: Custom React hooks (e.g.,useIsHydrated)utils.ts: Tailwind class merger and helpers
public/: Static assets (og-image.png, logo.png, icons)
This template includes production-ready Docker configuration:
- Multi-stage Dockerfile optimized for Next.js with pnpm
- Standalone output mode for minimal image size (~150-200MB)
- Security hardening with non-root user
- Health checks and resource limits configured
- docker-compose for easy orchestration
See DOCKER.md for comprehensive deployment guide.