This is a repository that includes 20 small projects, all built using React, Tailwind CSS, JavaScript, and CSS. These small projects are unified to form a larger project that showcases various skills and functionalities.
Each project is built as a separate component within a single React application. These mini-projects can serve as learning resources, inspiration, or building blocks for larger applications.
- Built with React for component-based architecture.
- Styled using Tailwind CSS and vanilla CSS for responsive and clean UI.
- JavaScript is used to handle dynamic content and interactions.
- React Icons are used for easy integration of icons.
- Accordion - A simple accordion component to toggle content visibility.
- Custom Modal Popup - A custom modal popup implementation.
- Custom Tabs - Custom tab navigation between different sections.
- Feature Flag - Feature flag management to enable/disable features.
- GitHub Profile Finder - Search and display GitHub user profiles.
- Image Slider - A simple image slider with manual navigation.
- Light/Dark Mode - Toggle between light and dark themes.
- Load More Data - Load more data functionality with a button click.
- QR Code Generator - Generate QR codes from input text.
- Random Color (Using RGB and HEX Value) - Generate random colors and display both RGB and HEX values.
- Scroll Indicator - A progress bar that indicates how much of the page has been scrolled.
- Scroll to Top and Bottom - Buttons to scroll to the top or bottom of the page.
- Search AutoComplete With API - A search input with autocomplete suggestions fetched from an API.
- Star Rating - A star rating component using React Icons.
- Tic-Tac-Toe - A classic Tic-Tac-Toe game.
- GitHub User Finder - Another GitHub user search component.
- Tree View - A tree view component to display hierarchical data.
- Use Fetch - A custom hook to fetch data from an API.
- Use Outside Click - A custom hook to handle clicks outside a specified component.
- Use Window Resize - A custom hook to track window resize events.
-
Create the React application:
npx create-react-app 25-projects-react cd 25-projects-react -
Install the necessary dependencies:
npm install
-
Install React Icons for using icons in the projects:
npm install react-icons
-
Start the development server:
npm start
Each project is a component inside the src folder. You can navigate between projects by importing the desired component into App.js.
For example, to display the Star Rating System:
import StarRating from "./components/StarRating";
function App() {
return (
<div className="App">
<StarRating />
</div>
);
}
export default App;