This project is a boilerplate starter for building modern web applications using Next.js 15, React 19, Tailwind CSS, ShadCN, and Jotai. It incorporates a variety of libraries and tools to enhance development efficiency, user experience, and accessibility.
className
strings conditionally.The project includes the following key dependencies:
State Management:
jotai
: A minimalistic state management library for React.Date Handling:
date-fns
: A modern JavaScript date utility library.dayjs
: A lightweight alternative to Moment.js for date manipulation.Form Handling:
react-hook-form
: A performant and flexible library for managing form state and validation.Styling:
ShadCN/Radix UI
: A collection of accessible and customizable UI components for building consistent and modern interfaces.tailwindcss
: A utility-first CSS framework for rapid UI development.tailwind-merge
: A utility for merging Tailwind CSS class names.tailwindcss-animate
: A library for adding animations to Tailwind CSS components.Charts:
recharts
: A composable charting library built on React components.Others:
clsx
: A utility for constructing className
strings conditionally.sonner
: A library for displaying notifications.embla-carousel-react
: A React carousel component for creating responsive carousels.The project also includes several development dependencies to enhance code quality and maintainability:
Linting and Type Checking:
eslint
: A tool for identifying and fixing problems in JavaScript code.typescript
: A superset of JavaScript that adds static types.PostCSS: A tool for transforming CSS with JavaScript plugins, allowing for advanced styling capabilities.
Type Definitions:
@types/node
, @types/react
, @types/react-dom
: Type definitions for Node.js and React to improve TypeScript support.To get started with this boilerplate, follow these steps:
Clone the repository:
git clone https://github.com/AlexStack/NextJs15-React19-TailwindCSS-ShadCN-Jotai-scaffold-boilerplate-starter.git next15-react19-jotai-shadcn-tailwindcss
cd next15-react19-jotai-shadcn-tailwindcss
Install dependencies:
--force
flag.npm install && npm run dev
npm install --force && npm run dev
Run the development server:
npm run dev
Open your browser and navigate to http://localhost:3000
to see your application in action.
Use different port, e.g 3210:
npm run dev -- --port 3210
Contributions are welcome! Please feel free to submit a pull request or open an issue for any enhancements or bug fixes.
MIT