Next Template

screenshot of Next Template
nextjs
react
tanstack
tailwind
radix-ui
shadcn-ui

A Next.js 13 template with shadcn/ui, Storybook, Husky, CSpell and other stuff.

Overview

The Next.js Template is a pre-configured app directory template that includes various technologies such as Next.js, shadcn/ui, Tailwind CSS, @tanstack/react-query, ky, Lucide, zod, ESLint, Prettier, Husky, and CSpell. This template provides a solid foundation for building web applications with server-side rendering, routing, re-usable components, state management, icon integration, schema validation, code linting, code formatting, and spell checking.

Features

  • Next.js: Provides server-side rendering, routing, and more for the project.
  • shadcn/ui: A collection of re-usable components built using Radix UI and Tailwind CSS.
  • @tanstack/react-query: A library for managing and caching server state in the application, simplifying data fetching, caching, and state management.
  • ky: A lightweight and elegant HTTP client for the browser that seamlessly works with modern web technologies.
  • Lucide: A collection of high-quality icons that can be easily incorporated into the application's UI.
  • zod: A robust and efficient TypeScript-first schema validation library to ensure correct data structure.
  • ESLint: A popular JavaScript and TypeScript linter that helps maintain a consistent and error-free codebase, with plugins for enhancing code quality, accessibility, and integration with Tailwind CSS, @tanstack/react-query, and import-helpers.
  • Prettier: An opinionated code formatter that ensures code consistency and improves code readability.
  • Husky: A Git workflow tool that runs checks and tasks (linting, formatting, etc.) before commits, ensuring code quality and consistency.
  • CSpell: A library for spell checking code.

Summary

The Next.js Template is a comprehensive app directory template that incorporates various technologies to enhance the development experience and code quality. With its pre-configured setup of Next.js, shadcn/ui, Tailwind CSS, @tanstack/react-query, ky, Lucide, zod, ESLint, Prettier, Husky, and CSpell, developers can quickly start building web applications with server-side rendering, re-usable components, state management, icon integration, schema validation, code linting, code formatting, and spell checking. The template also provides installation instructions and guidelines for contributing and reporting issues.

nextjs
Next.js

Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

tanstack
TanStack

TanStack is a collection of high-quality, framework-agnostic libraries including TanStack Query for data fetching, TanStack Router for routing, TanStack Table for tables, and more. These tools provide powerful, type-safe solutions for common web development challenges.

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

radix-ui
Radix UI

Radix Primitives is a low-level UI component library with a focus on accessibility, customization and developer experience. You can use these components either as the base layer of your design system, or adopt them incrementally.

shadcn-ui
Shadcn UI

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

react-hook-form
React Hook Form

React Hook Form is a performant, flexible, and extensible form library for React with easy validation. It reduces re-renders and improves performance by using uncontrolled components and native HTML validation, making form handling simple and efficient.

Storybook

Storybook is a tool for developing and testing UI components in isolation. It provides a sandbox environment where you can experiment with different props and states to see how your component responds.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

zod
Zod

Zod is a TypeScript-first schema declaration and validation library. It allows you to define schemas that can validate data at runtime while providing excellent TypeScript inference, making it perfect for API validation, form validation, and type-safe data handling.