Create modern React apps with Vital(speed)
π GitHub β’ π Issues β’ β Stars
- β‘οΈ React 19 - Latest React with modern patterns
- π¦Ύ TypeScript 5.9 - Strict typing with latest features
- π¨ Tailwind CSS 4 - Next-gen utility-first CSS with optimized setup
- π Vite 7 - Lightning-fast build tool
- π Atomic Design - Component organization
- π Path Aliases - Clean imports
- π¨ SVG Sprites - Optimized SVG sprite system with caching
- π§ͺ Vitest - Fast unit testing
- βοΈ Netlify - Zero-config deployment
- Component Classes: Pre-built
.btn-primary,.card,.container-responsive - Utility Classes:
.hover-lift,.focus-ring,.animate-fade-in - Performance: Optimized CSS bundle with proper layering
- Modern Setup: CSS-first configuration approach
- ESLint 9 - Latest linting with React/TypeScript rules
- Prettier 3.6 - Code formatting
- TypeScript ESLint - TypeScript-specific linting
- Lint-staged - Pre-commit hooks
- PostCSS - CSS processing with Autoprefixer
npx degit asif7774/vital my-awesome-app
cd my-awesome-app
npm install
npm run devgit clone https://github.com/asif7774/vital.git my-awesome-app
cd my-awesome-app
npm install
npm run devWhen you use this template, follow this checklist to customize it:
- Update
nameandauthorfields inpackage.json - Change the title in
index.html - Update favicon in
public/favicon.svg - Modify the manifest in
public/manifest.webmanifest - Update this README with your project info
Start the development server:
npm run devVisit http://localhost:3000/ to see your app.
Create a production build:
npm run buildThe built files will be in the dist directory.
Run tests:
npm run test # Run tests once
npm run test:ui # Run tests with UICheck code quality:
npm run lint # Run ESLint
npm run tsc # Type checkPreview the production build:
npm run preview- Go to Netlify
- Select your repository
- Deploy with zero configuration!
The dist folder contains static files that can be deployed to any static hosting service.
This template includes optimized Tailwind CSS 4 setup with:
.btn-primary- Primary button styling.btn-secondary- Secondary button styling.card- Card component with hover effects.container-responsive- Responsive container.heading-primary- Main heading styles.text-code- Code snippet styling
.hover-lift- Smooth lift animation.focus-ring- Consistent focus states.animate-fade-in- Fade in animation.animate-slide-up- Slide up animation
All packages are updated to their latest versions:
- React: 19.1.1
- TypeScript: 5.9.2
- Tailwind CSS: 4.1.13
- Vite: 7.1.7
- ESLint: 9.36.0
- Vitest: 3.2.4
I created this template because setting up modern React projects with all the latest tooling was becoming a bottleneck for rapid prototyping and development.
Vital provides:
- β‘οΈ Zero-config setup - Everything works out of the box
- π¨ Optimized Tailwind CSS 4 - Latest features with component classes
- π Latest tooling - React 19, TypeScript 5.9, Vite 7
- π¦ One command -
npx degit asif7774/vital my-appand you're ready to code - π Best practices - ESLint, Prettier, testing, and more
Perfect for:
- π Rapid prototyping - Get started in seconds
- π¨ Modern web apps - Latest React and TypeScript features
- π― Production ready - Optimized build and deployment
- π₯ Team projects - Consistent tooling and standards
MIT License - see LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
If you found this template helpful, please give it a star! β
