An open API service indexing awesome lists of open source software.

https://github.com/zetavg/react-vite-radix-tailwind-typescript-template

Template project for a Vite React app with TypeScript, Tailwind CSS, and Radix UI (shadcn-ui). Additionally, ESLint with Prettier and simple-import-sort, Jest for unit testing, absolute imports with @/*. Also with GitHub Actions for testing, building, and deploying to GitHub Pages included.
https://github.com/zetavg/react-vite-radix-tailwind-typescript-template

Last synced: 2 months ago
JSON representation

Template project for a Vite React app with TypeScript, Tailwind CSS, and Radix UI (shadcn-ui). Additionally, ESLint with Prettier and simple-import-sort, Jest for unit testing, absolute imports with @/*. Also with GitHub Actions for testing, building, and deploying to GitHub Pages included.

Awesome Lists containing this project

README

        

# React app template with TS, Tailwind CSS, and Radix UI

[![](https://github.com/zetavg/react-vite-radix-tailwind-typescript-template/assets/3784687/947a2a60-d23b-4e06-8707-016130663107)](https://zetavg.github.io/react-vite-radix-tailwind-typescript-template/)

This is a template project for a [Vite](https://vitejs.dev) [React](https://react.dev) app with [TypeScript](https://www.typescriptlang.org/), [Tailwind CSS](https://tailwindcss.com/), [Storybook](https://storybook.js.org/), and [Radix UI](https://www.radix-ui.com/) ([shadcn-ui](https://ui.shadcn.com/)).

✅ [Tailwind CSS](https://tailwindcss.com/)
✅ [Storybook](https://storybook.js.org/) for UI component development, testing, and documentation
✅ [Radix UI](https://www.radix-ui.com/) with [shadcn-ui](https://ui.shadcn.com/)
✅ [TypeScript](https://www.typescriptlang.org/)
✅ [ESLint](https://eslint.org/) with [Prettier](https://prettier.io/) and [simple-import-sort](https://github.com/lydell/eslint-plugin-simple-import-sort)
✅ [Jest](https://jestjs.io/) for unit testing
✅ Absolute imports with `@/*`
✅ GitHub Actions for testing, building, and deploying to GitHub Pages

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.\
Open the shown URL in the terminal to view it in the browser.

The page will reload if you make edits.\
You will also see any lint errors in the console.

### `npm run build`

Builds the app for production to the `dist` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deploying](https://vitejs.dev/guide/static-deploy) for more information.

## Learn More

You can learn more in the [Vite documentation](https://vitejs.dev/).

See the documentation of [Tailwind CSS](https://tailwindcss.com/docs), [Radix UI](https://www.radix-ui.com/primitives/docs), and [shadcn/ui](https://ui.shadcn.com/docs/components) on how to use them.

To learn React, check out the [React documentation](https://reactjs.org/).