shadcnblocks / mainline-nextjs-template

Mainline Next.js template built with shadcn/ui, Tailwind 4 & Next.js

Home Page:https://mainline-nextjs-template.vercel.app/

Repository from Github https://github.comshadcnblocks/mainline-nextjs-templateRepository from Github https://github.comshadcnblocks/mainline-nextjs-template

Mainline Next.js Template

Mainline is a free template built with shadcn/ui, Tailwind 4 and Next.js 15.

Mainline NextJS Template screenshot

Getting Started

npm install
npm run dev

Open http://localhost:3000 with your browser to see the result.

Features

Core Technology Stack

  • Next.js 15 with App Router
  • Tailwind CSS 4 for styling
  • shadcn/ui components
  • TypeScript support
  • React 19

Key Features

  • Shadcn UI: uses shadcn/ui core UI components
  • Theme System: Dark/light mode with next-themes, compatible with tweakcn
  • Form Handling: React Hook Form + Zod validation
  • Server Actions: Next-safe-action integration for server-side logic
  • MDX Support: For content pages
  • Animations: Motion library (Framer Motion) integration
  • ESLint/Prettier: Pre-configured code formatting and linting
  • Custom Fonts: DM Sans font family included
  • Icons: Lucide React + React Icons libraries
  • Styleglide Integration: For component previews/development
  • Responsive Design: Mobile-friendly layout
  • SEO Ready: Proper metadata and OG images included

Pre-built Pages

  • Home/Landing page
  • About page
  • Pricing page
  • FAQ page
  • Contact page with form
  • Login/Signup pages

Blocks

  • Hero section
  • Logo showcase/marquee
  • Features section
  • Resource allocation section
  • Testimonials with carousel
  • Pricing table
  • FAQ with accordion
  • Footer
  • Navigation bar

Deployment

Production-ready and tested for deployment on Vercel

Credits

About

Mainline Next.js template built with shadcn/ui, Tailwind 4 & Next.js

https://mainline-nextjs-template.vercel.app/

License:Other


Languages

Language:TypeScript 83.2%Language:MDX 10.2%Language:CSS 5.0%Language:JavaScript 1.6%