3Drobot is a simple front-end project that demonstrates how to integrate interactive 3D objects into a React application using Spline.
The project also makes use of TailwindCSS for styling, AOS (Animate On Scroll) for smooth animations, and Vite as the build tool and development server.
- React β JavaScript framework for building the user interface.
- Spline β Tool to create and embed 3D objects/animations directly in the browser.
- TailwindCSS β Utility-first CSS framework for fast and responsive design.
- AOS β Library for scroll-triggered animations.
- Vite β Next-generation frontend tooling for fast builds and hot reload.
- Integration of an interactive 3D model (via Spline).
- Responsive layout with Tailwind.
- Smooth animations on scroll with AOS.
- Single Page Project (front-end only).
- Fast dev server & optimized builds with Vite.
-
Clone the repository:
git clone https://github.com/your-username/3Drobot.git cd 3Drobot -
Install dependencies:
npm install
-
Start the development server (Vite):
npm run dev
The project will be available at http://localhost:5173 (or the port shown in your terminal).
-
Build for production:
npm run build
-
Preview the production build:
npm run preview
3Drobot/
βββ src/
β βββ components/ # React components
β βββ App.jsx # Main page
β βββ index.css # Global styles (including Tailwind)
βββ public/ # Static files
βββ package.json # Dependencies & scripts
βββ vite.config.js # Vite configuration
βββ README.md # Project documentationThis project was built for educational purposes. Feel free to modify and use it!
