Upskills Community
Upskills
upskills.dev
Join our community on Discord to get help about the tutorials and ask your questions.
Upskills
@upskillsdev
Checkout our GitHub to find the source code and submit any issues or feature requests.
This in-depth tutorial guides you through the process of creating a modern, interactive user profile page using React and HeroUI. You'll learn how to construct reusable components for showcasing user information, implementing a feature photo carousel, and displaying user posts and photos. By the end of this tutorial, you'll have a fully functional profile page that demonstrates best practices in React development and UI design.
Prerequisites
Tutorial Content
8 sections • 3 hours and 30 minutes
Before we dive into coding the profile page, let's set up our project:
git clone https://github.com/upskillsdev/starter-app.git
cd starter-app && yarn install
yarn dev
You should have a startup screen at http://localhost:5173/ in your browser.
Now you can now head over to the src/pages/index.tsx file and start building the profile page.
Section 1: Setup and initialize a new React project with HeroUI
How the starter project structure will look like:
├── public ├── src # Core source code of the application │ ├── components # Reusable UI elements │ ├── config # Configuration files of the application │ ├── hooks # Custom React hooks for shared logic │ ├── layouts # Page layouts or templates │ ├── pages # Individual pages of the application │ ├── styles # Global or component-specific styles │ ├── types # TypeScript type definitions │ ├── App.tsx # Root component of the application │ ├── main.tsx # Entry point of the application │ ├── provider.tsx # HeroUI Provider component │ ├── vite-env.d.ts # TypeScript declarations for Vite env variables ├── ...other files
About the author
NAB, Software Engineer
Hi, I’m Vu, a Software Engineer at NAB (National Australia Bank) with a love for creating web and mobile apps that don’t just look cool but feel great to use. I’ve had the chance to work with some awesome companies over the years, picking up new tricks and tackling many kinds of challenges along the way.
Now, I’m thrilled to share what I’ve learned and help others through fun, interactive coding tutorials!