This project is a comprehensive boilerplate for building modern SaaS applications. It includes a complete marketing landing page, a multi-level navigation system, a full suite of dashboard pages, and built-in AI capabilities powered by Google's Genkit. It's built with Next.js, TypeScript, and styled with Tailwind CSS and shadcn/ui.
- Framework: Next.js (App Router)
- Language: TypeScript
- Styling: Tailwind CSS
- UI Components: shadcn/ui
- AI Integration: Genkit (with Google AI)
- Animation: GSAP & Framer Motion
- Icons: Lucide React
- Marketing Pages: A beautiful, animated landing page with hero and feature sections, plus pricing cards.
- Authentication Flow: Pre-built pages for Login, Sign Up, and Forgot Password.
- Dynamic Navigation: A sophisticated, two-level navigation system that is fully responsive.
- A primary, icon-based navigation bar that expands on hover.
- A secondary, context-aware navigation panel for each primary section.
- Dashboard & Management: A complete set of pre-built dashboard pages:
- Dashboard Overview: With stats cards and charts.
- AI Portfolio: A showcase for AI-powered tools, demonstrating Genkit integration.
- Team Management: Invite and manage team members.
- Billing & Subscriptions: Manage plans and view billing history.
- Support Tickets: A system for users to submit and track support requests.
- Settings: Pages for profile, security, and branding.
- Theming: Light and Dark mode support, configured with
next-themes. - Responsive Design: The layout is fully responsive and optimized for desktop, tablet, and mobile devices.
Follow these steps to get the project up and running on your local machine.
The project uses Google's Genkit for its AI features, which requires an API key.
-
Create a new file named
.env.localin the root of the project. -
Add your Google AI API key to this file:
GOOGLE_API_KEY="YOUR_API_KEY_HERE"
You can obtain a key from the Google AI Studio.
Install the project dependencies using npm:
npm installStart the Next.js development server:
npm run devThe application will be available at http://localhost:9002.
The project follows the standard Next.js App Router structure.
src/app/(marketing): Contains the layout and pages for the public-facing marketing site (landing page, login, signup).src/app/(app): Contains the layout and pages for the protected application dashboard.src/components: Contains all the React components used in the application.src/components/ui: Core UI components from shadcn/ui.
src/ai: Contains all Genkit-related AI flows and configurations.src/lib: Contains utility functions, includingcnfor Tailwind class merging.src/hooks: Contains custom React hooks.public: Contains static assets like images and fonts.tailwind.config.ts&src/app/globals.css: Files for configuring Tailwind CSS and defining global styles and themes.