addyosmani/tunnel-bear-login
Tentang
Reproduksi halaman login "The Tunnel Bear"
Sistem dan infrastrukturYang dapat Anda lakukan
- Interactive bear animation that responds to email input length
- Playful hide animation when focusing on the password field
- Clean, modern UI with Tailwind CSS
Pertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliTunnel Bear Login Animation
A delightful login form implementation inspired by The Tunnel Bear by Kadri Jibraan. This project recreates the charming bear animation that responds to user input and focus states.
Features
- Interactive bear animation that responds to email input length
- Playful hide animation when focusing on the password field
- Clean, modern UI with Tailwind CSS
Project Structure
The project follows React best practices with a modular component architecture:
src/
├── components/
│ ├── BearAvatar.tsx # Animated bear image component
│ ├── Input.tsx # Reusable form input component
│ └── LoginForm.tsx # Main login form component
├── hooks/
│ ├── useBearAnimation.ts # Bear animation state management
│ └── useBearImages.ts # Image loading and sorting logic
└── assets/
└── img/ # Bear animation image sequences
Technical Details
- Built with React 19 and TypeScript
- Styled using Tailwind CSS
- Vite for fast development and building
- Modular architecture with custom hooks for state management
- Optimized image loading and sorting
Development
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Build for production:
npm run build
Credits
This project is a React implementation inspired by The Tunnel Bear login form created by Kadri Jibraan. All bear animations and design concepts are credited to the original work.
License
This project is for educational purposes only. The original design and animations are property of TunnelBear.
Jelajahi proyek terkait
Memuat…