This repository serves as a React Sandbox for practicing and experimenting with various React concepts, technologies, and functionalities. Each project is self-contained within its own folder, allowing for modular development and easy exploration.
- React (with Vite)
- Various external APIs
- Local state and hardcoded data
- Component-based architecture
- Switching mechanism in
App.jsxto toggle between different projects - Focus on logic and functionality rather than styling
- Use of both external APIs and hardcoded values
- Variety of complexity levels across projects
The following projects are included in the sandbox:
- Accordion - Expandable sections
- Countries - Fetching and displaying country data
- Contact Book - Manage contacts with CRUD operations
- Crypto - Cryptocurrency price tracking
- Custom Hook - Demonstration of custom React hooks
- Dark Mode - Toggle dark/light mode
- Drag and Drop - Implementing draggable components
- Exchange - Currency exchange rate calculator
- GitHub Finder - Search GitHub users and display their details
- Image Slider - Simple image carousel
- Load More - Lazy loading list items
- Memory Game - Card-matching memory game
- Modal - Custom modal implementation
- Notes - Note-taking app with local storage
- Password Generator - Generate secure passwords
- Pokedex - Fetch and display Pokémon data
- QR Generator - Generate QR codes from text input
- Scroll Indicator - Show progress bar while scrolling
- Stars - Star rating component
- Stoper - Stopwatch functionality
- Tabs - Tab-based navigation UI
- Tic Tac Toe - Classic tic-tac-toe game
- Typewriter - Typewriter animation effect
- Weather - Fetch and display weather data
- Wordly - Word game similar to Wordle
- Quiz - Interactive quiz application
Ensure you have Node.js and npm (or yarn) installed.
- Clone the repository:
git clone https://github.com/your-username/react-sandbox.git cd react-sandbox - Install dependencies:
npm install # or yarn install - Start the development server:
npm run dev # or yarn dev - Open the browser and navigate to
http://localhost:5173/.
- Select an app using the switch component in
App.jsx - Explore and modify the logic of different apps
- Experiment with new features or APIs
This project is open-source and available under the MIT License.