Turborepo Shadcn UI
A Next.js monorepo template using Turborepo, preconfigured with shadcn/ui (as of Oct 2024) and latest package versions for efficient web app development.
Efficient Next.js Development with a Preconfigured shadcn/ui Turborepo Starter
This Turborepo starter provides a robust foundation for building Next.js applications. It features a monorepo architecture, a Next.js web app utilizing the app router and a src
directory structure. Preconfigured with shadcn/ui (v2.1.0) and Next.js (v14.2.15) as of October 14, 2024, it includes the latest package versions, enabling developers to kickstart projects quickly with modern tooling and a streamlined component workflow. The setup uses npm
as its package manager.
Features:
- Next.js Web Application: A Next.js app (v14.2.15) using the app router and
src
directory structure. - shadcn/ui Integration: Includes
@repo/ui
, a React component library powered by shadcn/ui (v2.1.0), preconfigured for immediate use. - Turborepo Monorepo Structure: Utilizes Turborepo for optimized build and development workflows within a monorepo.
- Shared ESLint Configuration: Centralized ESLint settings (
@repo/eslint-config
) incorporatingeslint-config-next
andeslint-config-prettier
. - Shared TypeScript Configuration: Common
tsconfig.json
files (@repo/typescript-config
) ensuring type consistency across the monorepo. - 100% TypeScript: All packages and the web application are written entirely in TypeScript.
- Component Scaffolding Script: A convenient
npm run shadcn <component-name>
script, mirroring theshadcn/ui
CLI functionality for adding UI components. - NPM Package Manager: Standardized on
npm
for dependency management and script execution. - Remote Caching Ready: Configured for Turborepo's Remote Caching feature, allowing shared build caches with Vercel integration.
- Latest Package Versions: Includes the latest versions of integrated packages as of October 14, 2024.
Summary:
This starter kit offers a ready-to-use Next.js monorepo environment managed by Turborepo. It comes with shadcn/ui (v2.1.0), Next.js (v14.2.15), and essential configurations for ESLint and TypeScript, all updated as of October 2024. It's designed to accelerate project initiation for developers by providing a structured, type-safe, and efficient foundation for building modern web applications, simplifying development, builds, and UI component integration.

Similar to Turborepo Shadcn UI:


