Skip to content

asif7774/vital

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Vital React Template

Create modern React apps with Vital(speed)


πŸ™ GitHub β€’ πŸ› Issues β€’ ⭐ Stars


✨ Features

  • ⚑️ 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

🎨 Tailwind CSS 4 Optimizations

  • 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

πŸ›  Development Tools

πŸš€ Quick Start

Create a new project

npx degit asif7774/vital my-awesome-app
cd my-awesome-app
npm install
npm run dev

Or clone directly

git clone https://github.com/asif7774/vital.git my-awesome-app
cd my-awesome-app
npm install
npm run dev

πŸ“‹ Setup Checklist

When you use this template, follow this checklist to customize it:

  • Update name and author fields in package.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

πŸ›  Usage

Development

Start the development server:

npm run dev

Visit http://localhost:3000/ to see your app.

Build

Create a production build:

npm run build

The built files will be in the dist directory.

Testing

Run tests:

npm run test        # Run tests once
npm run test:ui     # Run tests with UI

Linting

Check code quality:

npm run lint        # Run ESLint
npm run tsc         # Type check

Preview

Preview the production build:

npm run preview

πŸš€ Deployment

Netlify (Recommended)

  1. Go to Netlify
  2. Select your repository
  3. Deploy with zero configuration!

Other Platforms

The dist folder contains static files that can be deployed to any static hosting service.

🎨 Tailwind CSS 4 Features

This template includes optimized Tailwind CSS 4 setup with:

Component Classes

  • .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

Utility Classes

  • .hover-lift - Smooth lift animation
  • .focus-ring - Consistent focus states
  • .animate-fade-in - Fade in animation
  • .animate-slide-up - Slide up animation

πŸ“¦ Package Versions

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

🎯 Why Vital?

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-app and 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

πŸ“„ License

MIT License - see LICENSE file for details.

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

⭐ Star this repo

If you found this template helpful, please give it a star! ⭐

About

πŸš€ Vital: The ultimate high-performance boilerplate for modern web apps. Built with React 19, TypeScript 5.9, Tailwind CSS 4, and Vite 7. Features optimized builds, atomic design, SVG sprites, and zero-config deployment.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors