Turborepo Shadncn UI Starter
Using this template
Fork this template repository.
What's inside?
This Turborepo includes the following packages/apps:
Apps and Packages
docs: a Next.js app with Tailwind CSS and Shadcn UIweb: another Next.js app with Tailwind CSS and Shadcn UIui: a stub React component library with Tailwind CSS and Shadcn UI shared by bothwebanddocsapplicationstailwind-config:tailwind.config.tsused throughout the monorepoeslint-config-custom:eslintconfigurations (includeseslint-config-nextandeslint-config-prettier)tsconfig:tsconfig.jsons used throughout the monorepo
Each package/app is 100% TypeScript.
Building packages/ui
This example is setup to build packages/ui and output the transpiled source and compiled styles to dist/. This was chosen to make sharing one tailwind.config.ts as easy as possible, and to ensure only the CSS that is used by the current application and its dependencies is generated.
Another option is to consume packages/ui directly from source without building. If using this option, you will need to update your tailwind.config.ts to be aware of your package locations, so it can find all usages of the tailwindcss class names.
For example, in tailwind.config.js:
content: [
// app content
`src/**/*.{js,ts,jsx,tsx}`,
// include packages if not transpiling
"../../packages/**/*.{js,ts,jsx,tsx}",
],Utilities
This Turborepo has some additional tools already setup for you:
- Tailwind CSS for styles
- Shadcn UI for ui components
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
On this page
Languages
TypeScript80.1%CSS11.1%JavaScript8.0%SCSS0.9%
Contributors
Created November 12, 2023
Updated December 6, 2025