A modern, opinionated Next.js 14+ template featuring TypeScript, app directory, dark/light/system theme toggle, and a clean, extendable component structure. Built for rapid prototyping and scalable production apps.
- Next.js 14+ with
/appdirectory and server components - TypeScript for type safety
- Theme Toggle (light/dark/system) using next-themes
- Reusable UI Components (Button, Dropdown, Card, etc.)
- Lucide Icons for modern SVG icons
- Custom Hooks (e.g.,
hasMounted) - Tailwind CSS for utility-first styling
- Ready-to-edit Home Page with live reload
- Accessible, semantic markup
- Easy to extend and customize
git clone https://github.com/prodbyeagle/next-template.git
cd next-templatenpm install
# or
bun i // bun update --latestnpm run dev
# or
bun devOpen http://localhost:3000 to view the app.
src/
app/ # App directory (Next.js 14+)
layout.tsx # Root layout
page.tsx # Home page
components/
eagle/ # Custom eagle components (e.g., theme-toggle)
ui/ # Reusable UI primitives (button, dropdown, etc.)
hooks/ # Custom React hooks
lib/ # Utilities and helpers
public/ # Static assets
- UI Components: Extend or modify components in
src/components/ui/for your design system. - Home Page: Start building your app in
src/app/page.tsx.
Created by prodbyeagle.