3D Portfolio



๐ Live Demo
Explore the live demonstration of the project:
reactjs18-3d-portfolio
๐ Description
3D Portfolio is a well-designed and fully functional portfolio website that is built with
React.js and Three.js. It is a fully responsive website that works well on all devices.
Folder Structure
reactjs18-3d-portfolio/
โโโ src/
โ โโโ App.tsx
โ โโโ globals.css
โ โโโ main.tsx
โ โโโ vite.env.d.ts
โ โโโ components/
โ โ โโโ atoms/
โ โ โ โโโ Header.tsx
โ โ โโโ canvas/
โ โ โ โโโ Ball.tsx
โ โ โ โโโ Computers.tsx
โ โ โ โโโ Earth.tsx
โ โ โ โโโ Stars.tsx
โ โ โ โโโ index.ts
โ โ โโโ layout/
โ โ โ โโโ Loader.tsx
โ โ โ โโโ Navbar.tsx
โ โ โโโ sections/
โ โ โ โโโ About.tsx
โ โ โ โโโ Contact.tsx
โ โ โ โโโ Experience.tsx
โ โ โ โโโ Feedbacks.tsx
โ โ โ โโโ Hero.tsx
โ โ โ โโโ Tech.tsx
โ โ โ โโโ Works.tsx
โ โ โ โโโ page.tsx
โ โ โโโ index.ts
โ โโโ constants/
โ โ โโโ config.ts
โ โ โโโ styles.ts
โ โ โโโ index.ts
โ โโโ hoc/
โ โ โโโ SectionWrapper.tsx
โ โ โโโ index.ts
โ โโโ utils/
โ โ โโโ motion.ts
โ โโโ types/
โ โ โโโ index.d.ts
โ โโโ assets/
โ โโโ company/
โ โ โโโ [[...]].{svg,png}
โ โโโ tech/
โ โ โโโ [[...]].{svg,png}
โ โโโ [[...]].{svg,png}
โ โโโ index.ts
โโโ public/
โ โโโ desktop_pc
โ โ โโโ textures/[[...]].png
โ โ โโโ license.txt
โ โ โโโ scene.bin
โ โ โโโ scene.gltf
โ โโโ planet
โ โ โโโ textures/[[...]].png
โ โ โโโ license.txt
โ โ โโโ scene.bin
โ โ โโโ scene.gltf
โ โโโ logo.png
โ โโโ logo.svg
โโโ .env
โโโ .eslintignore
โโโ .eslintrc.cjs
โโโ .gitignore
โโโ .prettierignore
โโโ .prettierrc.cjs
โโโ index.html
โโโ LICENSE
โโโ README.md
โโโ package.json
โโโ postcss.config.cjs
โโโ tailwind.config.cjs
โโโ tsconfig.json
โโโ tsconfig.node.json
โโโ vite.config.js
๐ Table of Contents
Table of Contents
โจ Technologies Used
3D Portfolio is built using the following technologies:
- TypeScript: TypeScript is a typed superset of JavaScript that
compiles to plain JavaScript.
- Vite: Vite is a build tool that aims to provide a faster and leaner
development experience for modern web projects.
- React.js: React is a free and open-source front-end JavaScript library for
building user interfaces or UI components.
- Three.js: Three.js is a cross-browser JavaScript library and application
programming interface used to create and display animated 3D computer graphics in a web browser
using WebGL.
- Framer Motion: Framer Motion is a production-ready motion
library for React.
- Tailwind CSS: Tailwind CSS is a utility-first CSS framework for
rapidly building custom user interfaces.
- ESLint: ESLint is a static code analysis tool for identifying problematic
patterns found in JavaScript code.
- Prettier: Prettier is an opinionated code formatter.
- Vercel: Vercel is a cloud platform for frontend developers, providing the
frameworks, workflows, and infrastructure to build a faster, more personalized Web.

๐งฐ Get Started
To get this project up and running in your development environment, follow these step-by-step
instructions.
๐ Prerequisites
In order to install and run this project locally, you would need to have the following installed on
your local machine.
โ๏ธ Installation and Run Locally
Step 0:
Note โผ๏ธ the application uses EmailJS in order to send emails using client-side, therefore,
you need to create EmailJS account here and sets the
VITE_EMAILJS_SERVICE_ID, VITE_EMAILJS_TEMPLATE_ID, and VITE_EMAIL_JS_ACCESS_TOKEN environment
variables in .env file.
Step 1:
Download or clone this repo by using the link below:
git clone https://github.com/ladunjexa/reactjs18-3d-portfolio.git
Step 2:
Execute the following command in the root directory of the downloaded repo in order to install
dependencies:
npm install
Step 3:
Execute the following command in order to run the development server locally:
npm run dev
Step 4:
Open http://localhost:5173 with your browser to see the result.
๐ Scripts
All scripts are defined in the package.json file. Here is a list of all scripts:
| Script |
Action |
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:5137 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Boot up a local static web server |
npm run lint |
Run ESLint |
npm run ts:check |
Perform type-checking |
๐ Environment Variables
Environment variables[^3] can be used for configuration. They must be set before running the app.
Environment variables are variables that are
set in the operating system or shell, typically used to configure programs.
React.js 18 3D Portfolio uses EmailJS as external service. You need
to create an account and get the required credentials to run the app.
Create a .env file in the root directory of the project and add the following environment
variables:
VITE_EMAILJS_SERVICE_ID=<VITE_EMAILJS_SERVICE_ID>
VITE_EMAILJS_TEMPLATE_ID=<VITE_EMAILJS_TEMPLATE_ID>
VITE_EMAIL_JS_ACCESS_TOKEN=<VITE_EMAIL_JS_ACCESS_TOKEN>
๐ Deployment
Deploy to production (manual)
You can create an optimized production build with the following command:
npm run build
Deploy on Vercel (recommended)
The easiest way to deploy this Next.js app is to use the
Vercel Platform.

Deploy on Netlify
You can also deploy this Next.js app with Netlify.

Check out Next.js deployment documentation for more details.
๐ง Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and
create. Any contributions you make are greatly appreciated.
To fix a bug or enhance an existing module, follow these steps:
- Fork the repo
- Create a new branch (
git checkout -b improve-feature)
- Make the appropriate changes in the files
- Commit your changes (
git commit -am 'Improve feature')
- Push to the branch (
git push origin improve-feature)
- Create a Pull Request ๐
๐ฉ Bug / Feature Request
If you find a bug (failure of a module to execute its intended function), kindly open an issue
here by including the issue with a
title and clear description.
If you'd like to request a new function, feel free to do so by opening an issue
here. Please include sample
queries and their corresponding results.
๐ Acknowledgements
I'd like to express my gratitude to the following people who helped me with this project and made it
possible:
๐ Contact Us

๐ License
Three.js 3D Portfolio is open source software
licensed as MIT and is free to use โ See
LICENSE for more details.