More Premium Hugo Themes Premium Nextjs Themes

Next Template

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

Next Template

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

Author Avatar Theme by fellipeutaka
Github Stars Github Stars: 12
Last Commit Last Commit: Sep 13, 2023 -
First Commit Created: Oct 26, 2023 -
Next Template screenshot

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.

Installation

To use the template with create-next-app and create a new project:

  1. Run the following command:
npx create-next-app my-app -e https://github.com/<template-repo>

Replace <template-repo> with the actual repository URL of the template.

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.