Back to rankings

theodorusclarence/ts-nextjs-tailwind-starter

TypeScripttsnext-tw.thcl.dev

๐Ÿ”‹ Next.js + Tailwind CSS + TypeScript starter and boilerplate packed with useful development features

nextjstailwindcsstypescriptabsolute-importshuskyjesteslintgithub-actionssnippetsboilerplateboilerplate-templatenextjs-boilerplate
Star Growth
Stars
3.4k
Forks
617
Weekly Growth
โ€”
Issues
2
1k2k3k
Aug 2021Mar 2023Nov 2024Jul 2026
Artifactsnpmnpm install ts-nextjs-tailwind-starter
README

Next.js + Tailwind CSS + TypeScript Starter and Boilerplate

๐Ÿ”‹ ts-nextjs-tailwind-starter

Next.js + Tailwind CSS + TypeScript starter packed with useful development features.

Made by Theodorus Clarence

GitHub Repo stars Depfu Last Update

Features

This repository is ๐Ÿ”‹ battery packed with:

  • โšก๏ธ Next.js 14 with App Router
  • โš›๏ธ React 18
  • โœจ TypeScript
  • ๐Ÿ’จ Tailwind CSS 3 โ€” Configured with CSS Variables to extend the primary color
  • ๐Ÿ’Ž Pre-built Components โ€” Components that will automatically adapt with your brand color, check here for the demo
  • ๐Ÿƒ Jest โ€” Configured for unit testing
  • ๐Ÿ“ˆ Absolute Import and Path Alias โ€” Import components using @/ prefix
  • ๐Ÿ“ ESLint โ€” Find and fix problems in your code, also will auto sort your imports
  • ๐Ÿ’– Prettier โ€” Format your code consistently
  • ๐Ÿถ Husky & Lint Staged โ€” Run scripts on your staged files before they are committed
  • ๐Ÿค– Conventional Commit Lint โ€” Make sure you & your teammates follow conventional commit
  • โฐ Release Please โ€” Generate your changelog by activating the release-please workflow
  • ๐Ÿ‘ท Github Actions โ€” Lint your code on PR
  • ๐Ÿš˜ Automatic Branch and Issue Autolink โ€” Branch will be automatically created on issue assign, and auto linked on PR
  • ๐Ÿ”ฅ Snippets โ€” A collection of useful snippets
  • ๐Ÿ‘€ Open Graph Helper Function โ€” Awesome open graph generated using og, fork it and deploy!
  • ๐Ÿ—บ Site Map โ€” Automatically generate sitemap.xml
  • ๐Ÿ“ฆ Expansion Pack โ€” Easily install common libraries, additional components, and configs.

See the ๐Ÿ‘‰ feature details and changelog ๐Ÿ‘ˆ for more.

You can also check all of the details and demos on my blog post:

Getting Started

1. Clone this template using one of the three ways

  1. Use this repository as template

    Disclosure: by using this repository as a template, there will be an attribution on your repository.

    I'll appreciate if you do, so this template can be known by others too ๐Ÿ˜„

    Use as template

  2. Using create-next-app

    pnpm create next-app  -e https://github.com/theodorusclarence/ts-nextjs-tailwind-starter ts-pnpm
    

    If you still want to use pages directory (is not actively maintained) you can use this command

    npx create-next-app -e https://github.com/theodorusclarence/ts-nextjs-tailwind-starter/tree/pages-directory project-name
    
  3. Using degit

    npx degit theodorusclarence/ts-nextjs-tailwind-starter YOUR_APP_NAME
    
  4. Deploy to Vercel

    Deploy with Vercel

2. Install dependencies

It is encouraged to use pnpm so the husky hooks can work properly.

pnpm install

3. Run the development server

You can start the server using this command:

pnpm dev

Open http://localhost:3000 with your browser to see the result. You can start editing the page by modifying src/pages/index.tsx.

4. Change defaults

There are some things you need to change including title, urls, favicons, etc.

Find all comments with !STARTERCONF, then follow the guide.

Don't forget to change the package name in package.json

5. Commit Message Convention

This starter is using conventional commits, it is mandatory to use it to commit changes.

Projects using ts-nextjs-tailwind-starter

Are you using this starter? Please add your page (and repo) to the end of the list via a Pull Request. ๐Ÿ˜ƒ

Expansion Pack ๐Ÿ“ฆ

This starter is now equipped with an expansion pack.

You can easily add expansion such as React Hook Form + Components, Storybook, and more just using a single command line.

https://user-images.githubusercontent.com/55318172/146631994-e1cac137-1664-4cfe-950b-a96decc1eaa6.mp4

Check out the expansion pack repository for the commands

App Router Update

Due to App Router update, the expansion pack is currently outdated. It will be updated in the future. You can still use them by copy and pasting the files.

Related repositories
f/prompts.chat

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source โ€” self-host for your organization with complete privacy.

HTMLOtherchatgptai
prompts.chat
166.1k21.5k
langgenius/dify

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

TypeScriptnpmOtheraigpt
dify.ai
149.5k23.6k
vercel/next.js

The React Framework

JavaScriptnpmMIT Licensereactserver-rendering
nextjs.org
141k31.5k
shadcn-ui/ui

A set of beautifully-designed, accessible components and a code distribution platform. Works with your favorite frameworks. Open Source. Open Code.

TypeScriptnpmMIT Licensecomponentsnextjs
ui.shadcn.com
119.4k9.5k
supabase/supabase

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

TypeScriptnpmApache License 2.0firebasesupabase
supabase.com
106.7k13.2k
ChatGPTNextWeb/NextChat

โœจ Light and Fast AI Assistant. Support: Web | iOS | MacOS | Android | Linux | Windows

TypeScriptnpmMIT Licensechatgptnextjs
nextchat.club
88.5k59.4k
ChatGPTNextWeb/ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). ไธ€้”ฎๆ‹ฅๆœ‰ไฝ ่‡ชๅทฑ็š„่ทจๅนณๅฐ ChatGPT/Gemini/Claude LLM ๅบ”็”จใ€‚

TypeScriptnpmchatgptnextjs
nextchat.dev/chat
78.5k60k
coollabsio/coolify

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 280+ one-click services on your own servers.

PHPPackagistApache License 2.0nodejsmysql
coolify.io
59.1k5.1k
lobehub/lobe-chat

๐Ÿคฏ Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / DeepSeek / Qwen), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Plugins/Artifacts) and Thinking. One-click FREE deployment of your private ChatGPT/ Claude / DeepSeek application.

TypeScriptnpmOtherchatgptnextjs
chat-preview.lobehub.com
57.4k12.2k
appwrite/appwrite

Appwriteยฎ - complete cloud infrastructure for your web, mobile and AI apps. Including Auth, Databases, Storage, Functions, Messaging, Hosting, Realtime and more

TypeScriptnpmBSD 3-Clause "New" or "Revised" Licenseappwritedocker
appwrite.io
56.6k5.6k
calcom/cal.diy

Scheduling infrastructure for absolutely everyone.

TypeScriptnpmMIT Licenseopen-sourcetypescript
cal.diy
46.7k14.5k
AykutSarac/jsoncrack.com

โœจ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

TypeScriptnpmApache License 2.0jsontool
jsoncrack.com
44.3k3.6k