turbo-tailwind4-shadcn Tailwind Templates

Turbo Tailwind4 Shadcn

This is an enhanced project template based on the official Turborepo scaffold, integrated with the latest Tailwind 4 and Shadcn/ui component library.

English | δΈ­ζ–‡

Turborepo + Tailwind 4 + Shadcn/ui Starter

This is an enhanced project template based on the official Turborepo scaffold, integrated with the latest Tailwind 4 and Shadcn/ui component library.

Features

  • πŸš€ High-performance Monorepo workflow powered by Turborepo
  • πŸ’Ž Integration of the latest Tailwind 4, supporting more powerful styling features
  • 🎨 Built-in Shadcn/ui component library, providing beautiful and customizable UI components
  • ♻️ Full compatibility with Tailwind 3 components, seamless migration

Getting Started

Run the following command to create a project:

npx create-turbo@latest

Project Structure

Apps and Packages

  • web: A Next.js app
  • @repo/ui: Shared React component library integrated with Shadcn/ui, used by the web app
  • @repo/eslint-config: ESLint configurations (includes eslint-config-next and eslint-config-prettier)
  • @repo/typescript-config: tsconfig.json configurations used throughout the Monorepo

All packages and apps are written in TypeScript.

Integrated Tools

This project has been configured with the following tools:

Tailwind 4 Features

This project integrates Tailwind CSS 4, bringing many exciting new features:

  • Enhanced responsive design capabilities
  • Improved theme customization options
  • Optimized build performance
  • New utility classes

Tailwind 3 Compatibility

We ensure full compatibility with Tailwind 3:

  • Support for all Tailwind 3 class names and functionalities
  • Use existing Tailwind 3 components without modification
  • Smooth upgrade path for gradually adopting new features

Build

Build all apps and packages:

cd my-turborepo
pnpm build

Development

Start the development environment:

cd my-turborepo
pnpm dev

Learn more about Turborepo's powerful features:

Top categories

Loading Svelte Themes