A modern, responsive toy store website built with React and Tailwind CSS. This project showcases a beautiful e-commerce frontend for a toy store, featuring an interactive slider, product cards, and contact information.
- Responsive Design - Fully responsive layout that works on mobile, tablet, and desktop
- Image Slider - Auto-playing carousel showcasing featured toys using Swiper.js
- Product Cards - Beautiful cards displaying toy categories with images and descriptions
- Contact Section - Contact information with location details
- Modern UI - Clean and modern user interface with Tailwind CSS styling
- Frontend Framework: React 19
- Styling: Tailwind CSS 4
- Build Tool: Vite 7
- Slider: Swiper.js 12
- Package Manager: npm
ToyStore/
├── public/
├── src/
│ ├── assets/
│ ├── components/
│ │ ├── Header.jsx
│ │ ├── Card/
│ │ │ ├── CardContext.jsx
│ │ │ ├── CardList.jsx
│ │ │ └── data.js
│ │ ├── Contact/
│ │ │ └── ContactList.jsx
│ │ └── Slider/
│ │ └── SliderList.jsx
│ ├── layouts/
│ │ └── LayoutRoot.jsx
│ ├── pages/
│ │ └── HomePage.jsx
│ ├── App.jsx
│ ├── main.jsx
│ └── index.css
├── index.html
├── package.json
├── vite.config.js
└── eslint.config.js
- Node.js (v18 or higher recommended)
- npm or yarn
-
Clone the repository:
git clone https://github.com/yourusername/toystore.git cd toystore -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and visit
http://localhost:5173
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run preview |
Preview production build |
npm run lint |
Run ESLint |
Navigation component with links to Home, Toys, and Contact sections.
An auto-playing image carousel featuring highlighted toys and promotions.
A responsive grid of product cards showcasing different toy categories:
- Educational - Wooden train sets and learning toys
- Electronic - RC cars and electronic gadgets
- Plush - Soft toys and teddy bears
Contact information section with location, email, and phone details.
The website features:
- A hero slider with rotating toy images
- Product category cards with toy images
- A clean contact section
Contributions are welcome! Feel free to submit a Pull Request.
This project is open source and available under the MIT License.
Made with ❤️ for MBO Utrecht - Frontend Development Course