Skip to content

πŸš€ React + TypeScript + Tailwind + shadcn/ui Starter - A modern starter template for building React apps with TypeScript, Tailwind CSS, and shadcn/ui components. Includes React Router for navigation and a pre-configured setup to help you kickstart development faster ⚑.

Notifications You must be signed in to change notification settings

jack-dev-crypto/react-ts-tailwind-shadcn-starter

Repository files navigation

React + TypeScript + Tailwind CSS + shadcn/ui Starter

Node.js Vite TailwindCSS shadcn/ui License: MIT

A modern starter template for building React applications with TypeScript, Tailwind CSS (v3.4), shadcn/ui, and Vite.
This setup is designed to provide strong defaults, excellent browser compatibility, and a clean foundation for common React project needs.


✨ Features

  • ⚑ Vite β€” Fast build tool with lightning-quick dev server.
  • πŸ“˜ TypeScript β€” Strict typing for safer, scalable React apps.
  • 🎨 Tailwind CSS 3.4 β€” Utility-first styling with improved browser compatibility.
  • 🧩 shadcn/ui β€” Accessible, headless, and themeable components built with Radix UI + Tailwind.
  • πŸ”§ Pre-configured Project Structure β€” Opinionated defaults for a smoother start.

πŸš€ Getting Started

Prerequisites

  • Node.js (>= 18)
  • npm, pnpm, or yarn

Installation

# Clone the repository
git clone https://github.com/jack-dev-crypto/react-ts-tailwind-shadcn-starter.git

cd react-ts-tailwind-shadcn-starter

# Install dependencies
npm install

Development

npm run dev

Starts the local development server at http://localhost:5173/.

Build

npm run build

Creates an optimized production build.

Preview

npm run preview

Serves the production build locally for testing.


πŸ“‚ Project Structure

β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/     # Reusable UI components
β”‚   β”œβ”€β”€ pages/          # Page-level components
β”‚   β”œβ”€β”€ lib/            # Utilities, helpers
β”‚   β”œβ”€β”€ App.tsx         # Root component
β”‚   └── main.tsx        # Entry point
β”œβ”€β”€ public/             # Static assets
β”œβ”€β”€ tailwind.config.js  # Tailwind configuration
β”œβ”€β”€ vite.config.ts      # Vite configuration

🎨 UI & Styling

This template integrates shadcn/ui for a growing collection of pre-built components styled with Tailwind. You can extend or customize them as needed for your project.


πŸ›  Customization

  • Adjust Tailwind settings in tailwind.config.js.
  • Configure Vite in vite.config.ts.
  • Add or remove shadcn/ui components with the CLI or manually.

πŸ“œ License

MIT β€” feel free to use this starter in your own projects.

About

πŸš€ React + TypeScript + Tailwind + shadcn/ui Starter - A modern starter template for building React apps with TypeScript, Tailwind CSS, and shadcn/ui components. Includes React Router for navigation and a pre-configured setup to help you kickstart development faster ⚑.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published