A Next.js starter template with TypeScript, Tailwind CSS, and professional UI components. Built for developers who want to ship fast without compromising on quality.
- Features
- Quick Start
- Project Structure
- UI Components
- Tech Stack
- Customization
- Deployment
- Contributing
- License
- Support
- Next.js 15 - Latest App Router with React Server Components
- React 19 - Cutting-edge React features and optimizations
- TypeScript - Full type safety and better developer experience
- Tailwind CSS v4 - Utility-first CSS framework with modern features
- Responsive Design - Mobile-first approach, works on all devices
- Dark Mode Ready - Easy theme switching implementation
- Radix UI - Accessible, unstyled component primitives
- Professional Components - Pre-built, customizable UI components
- Clean Design - Modern, minimal styling that looks great
- ESLint - Code linting and quality checks
- TypeScript Strict Mode - Enhanced type checking
- Clean Architecture - Organized folder structure
- Component Library - Reusable, accessible components
- Utility Functions - Helper functions with
cn()class merging
- Optimized Images - Next.js Image optimization
- Code Splitting - Automatic code splitting for faster loads
- CSS Optimization - Tailwind CSS purging and minification
- Fast Refresh - Instant feedback during development
- Node.js 18.17 or later
- npm, yarn, pnpm, or bun
Clone the repository:
git clone https://github.com/TryTools/front-end.git my-project
cd my-projectInstall dependencies:
npm install
# or
yarn install
# or
pnpm installRun the development server:
npm run dev
# or
yarn dev
# or
pnpm devOpen http://localhost:3000 in your browser to see the result.
npm run build
npm start├── src/
│ ├── app/ # Next.js app directory
│ │ ├── layout.tsx # Root layout with metadata
│ │ ├── page.tsx # Home page
│ │ └── globals.css # Global styles and design system
│ ├── components/ # React components
│ │ ├── ui/ # Reusable UI components
│ │ │ ├── button.tsx # Button component with variants
│ │ │ └── card.tsx # Card component with effects
│ │ └── navigation.tsx # Navigation bar component
│ └── lib/ # Utility functions
│ └── utils.ts # Helper functions (cn, etc.)
├── public/ # Static assets
├── package.json # Project dependencies
├── tsconfig.json # TypeScript configuration
├── next.config.ts # Next.js configuration
├── postcss.config.mjs # PostCSS configuration
└── eslint.config.mjs # ESLint configuration
Multiple variants for different use cases:
import { Button } from "@/components/ui/button"
<Button variant="default">Default</Button>
<Button variant="outline">Outline</Button>
<Button variant="ghost">Ghost</Button>
<Button size="lg">Large Button</Button>Available Variants:
default- Primary action buttonoutline- Secondary action buttonghost- Tertiary/subtle actionlink- Text link style
Available Sizes:
sm- Small (36px height)default- Medium (40px height)lg- Large (48px height)icon- Square icon button
Feature cards with hover effects and animations:
import { Card, CardHeader, CardTitle, CardDescription, CardContent } from "@/components/ui/card"
<Card>
<CardHeader>
<CardTitle>Card Title</CardTitle>
<CardDescription>Card description</CardDescription>
</CardHeader>
<CardContent>
Card content goes here
</CardContent>
</Card>Responsive navigation bar with mobile menu:
- Desktop navigation with links
- Mobile hamburger menu
- Smooth transitions
- Glass morphism effect
- Fully accessible
- Next.js 15.4 - React framework for production
- React 19.1 - JavaScript library for user interfaces
- TypeScript 5 - Typed superset of JavaScript
- Tailwind CSS v4 - Utility-first CSS framework
- PostCSS - CSS transformation tool
- Radix UI - Unstyled, accessible component primitives
- Lucide React - Beautiful icon library
- class-variance-authority - Component variant management
- tailwind-merge - Utility for merging Tailwind classes
- ESLint 9 - Code linting
- TypeScript ESLint - TypeScript-specific linting
1. Change Logo and Name
Edit src/components/navigation.tsx:
<div className="w-8 h-8 rounded-lg bg-gradient-to-br from-primary to-primary/60">
YourLogo
</div>
<span>Your Brand</span>2. Update Metadata
Edit src/app/layout.tsx:
export const metadata: Metadata = {
title: "Your App Name",
description: "Your app description",
// ... other metadata
}Edit src/app/globals.css:
:root {
--background: oklch(1 0 0);
--foreground: oklch(0.147 0.004 49.25);
--primary: oklch(0.216 0.006 56.043);
/* Add your custom colors */
}Create new routes in src/app/:
src/app/about/page.tsx
src/app/blog/page.tsx
src/app/contact/page.tsxEach page automatically gets its own route based on the folder structure.
Add components in src/components/:
// src/components/my-component.tsx
export function MyComponent() {
return <div>My Component</div>
}The easiest way to deploy your Next.js app is to use the Vercel Platform.
Steps:
- Push your code to GitHub
- Import your repository to Vercel
- Vercel will detect Next.js and configure automatically
- Your site will be live in seconds
This template works with any platform that supports Next.js:
Cloud Platforms:
Self-Hosted:
- Docker containers
- Node.js server
- Static export (for static sites)
Create a .env.local file for local development:
NEXT_PUBLIC_API_URL=https://api.example.com
NEXT_PUBLIC_SITE_URL=https://yoursite.comContributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Follow the existing code style
- Use TypeScript for all new files
- Add comments for complex logic
- Ensure all tests pass
- Update documentation as needed
This project is licensed under the MIT License - see the LICENSE file for details.
- GitHub Issues - Report bugs or request features
- Discussions - Ask questions and share ideas
- Email - support@spawnlabs.ai
- Twitter - @tryspawnlabs
- Website - spawnlabs.ai
Built with modern web technologies:
- Next.js Documentation
- React Documentation
- TypeScript Documentation
- Tailwind CSS Documentation
- Radix UI Documentation
Built by Spawnlabs
Start building amazing web applications today.