PromptsVault AI is thinking...
Searching the best prompts from our community
Searching the best prompts from our community
Discover the most effective Nextjs prompts. High-quality templates curated by experts to help you get professional AI results.
Set up the complete T3 Stack (Next.js, tRPC, Tailwind, Prisma). Focus on the end-to-end authentication flow. Steps: 1. Configure NextAuth with Prisma adapter. 2. Create tRPC procedures to fetch 'protected' user data. 3. Build a login page with provider buttons. 4. Implement a 'UserButton' client component with session hooks. 5. Ensure type safety from DB to UI.
Act as a senior frontend engineer. Create a production-ready SaaS dashboard using Next.js 14 App Router. Requirements: 1. Sidebar with collapsible links using Lucide-icons. 2. Sticky header with search and user profile dropdown. 3. Main dashboard with responsive grid (3 columns desktop, 1 column mobile). 4. Use DaisyUI stats components for metrics. 5. Integrate a line chart using Recharts for 'Revenue tracking'. 6. Ensure full accessibility (ARIA labels) and dark mode optimization using Tailwind 'dark:' utilities.
You are a senior frontend architect. Generate a production-ready Next.js 14 (App Router) project using: TypeScript Tailwind CSS DaisyUI Responsive mobile-first design Clean scalable folder structure SEO optimized metadata Accessible components 📦 Project Requirements Create a modern SaaS-style landing website with 5 fully working pages: Home (/) About (/about) Services (/services) Pricing (/pricing) Contact (/contact) 🧱 Technical Setup Use Next.js 14 App Router Use Server Components by default Use "use client" only where required Configure Tailwind properly Install and configure DaisyUI theme Enable strict TypeScript Include proper ESLint config 🎨 UI Requirements Use DaisyUI components for: Navbar (sticky) Hero section Feature cards Pricing cards Contact form Footer Design must be: modern clean professional SaaS style fast loading accessible 📁 Folder Structure (IMPORTANT) Use scalable architecture: app/ layout.tsx page.tsx about/page.tsx services/page.tsx pricing/page.tsx contact/page.tsx components/ ui/Navbar.tsx ui/Footer.tsx sections/Hero.tsx sections/Features.tsx sections/Pricing.tsx lib/ constants.ts 🧩 Page Details 🏠 Home Include: Hero with CTA Features grid Pricing preview Testimonials section CTA banner 👤 About Company intro Mission/vision Team cards 🛠 Services Services grid (6 cards) Icons Hover effects 💰 Pricing 3-tier pricing table Monthly toggle UI (no backend needed) Highlight recommended plan ✉️ Contact Build a working client-side validated form with: Name Email Message Submit button with loading state Use React Hook Form + Zod validation. ⚡ Performance & SEO Add metadata in layout Use next/image where appropriate Ensure Lighthouse-friendly output No unnecessary client components 🎯 Output Requirements (VERY IMPORTANT) Provide: Full install commands Required dependencies Tailwind config DaisyUI config Complete working code files No pseudo code No missing imports Code must run without errors Generate clean, production-quality code.