Un header moderno e interattivo con effetti particellari e animazioni fluide, perfetto per siti web professionali.
- Next.js 15 con App Router
- TypeScript per la sicurezza dei tipi
- Tailwind CSS per lo styling
- Effetti particellari interattivi e responsivi
- GSAP per animazioni fluide del testo
- Design responsivo ottimizzato per mobile
- Sfondo video con fallback gradient
- Header modulare facilmente integrabile
next- React frameworktypescript- Type safetytailwindcss- Utility-first CSS frameworktsparticles- Particle effects library@tsparticles/react- React wrapper for tsParticles@tsparticles/engine- Core tsParticles engine@tsparticles/basic- Basic tsParticles presetgsap- Animation library
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Open your browser: Navigate to http://localhost:3000
src/
├── app/
│ ├── globals.css # Global styles and custom utilities
│ ├── layout.tsx # Root layout
│ └── page.tsx # Home page with all components
└── components/
├── ParticlesBackground.tsx # Interactive particle background
├── AnimatedText.tsx # GSAP text animations
└── FloatingElements.tsx # Floating animated elements
Interactive particle system with:
- Mouse hover repulsion effect
- Click to add particles
- Connected particle network
- Responsive particle density
Smooth text animations featuring:
- Character-by-character animation
- 3D rotation effects
- Staggered timing
- Customizable delays
Floating UI elements with:
- Continuous floating motion
- Rotation animations
- Hover scale effects
- Random positioning
Modify particle settings in ParticlesBackground.tsx:
- Particle count, color, and size
- Animation speed and behavior
- Interaction modes and distances
Customize animations in AnimatedText.tsx:
- Animation duration and easing
- Stagger timing between characters
- 3D transformation effects
Update styles in globals.css and component classes:
- Color schemes and gradients
- Custom animations
- Responsive breakpoints
The project is ready for deployment on platforms like:
- Vercel (recommended)
- Netlify
- Railway
- AWS Amplify
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLint
Feel free to contribute by:
- Forking the repository
- Creating a feature branch
- Making your changes
- Submitting a pull request
This project is open source and available under the MIT License.
Happy coding! 🎉
