Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Instagram UI Clone Header Tooltip w/ NextJS & TailwindCSS
Rating: 4.3 out of 5(4 ratings)
11 students

Instagram UI Clone Header Tooltip w/ NextJS & TailwindCSS

Step by Step to build the instagram header and tooltip same as real one
Created byKim Chen
Last updated 12/2021
English

What you'll learn

  • Build a real world app
  • Nextjs and tailwindcss integration
  • Server side rendering
  • React hooks

Course content

1 section11 lectures33m total length
  • Introduction and create simple header3:42

    In this part, we are going to create a simple header that is fixed at the top, which is white color.

  • add the instagram logo4:26

    In this part, we are going to add the instagram logo to the header. This time we use the nextjs image and we will talk about how to setup the nextjs config file

  • building the searchbar4:06

    In this part, we are going to build the searchbar with tailwindCSS


  • conditional render icons2:06

    In the instagram searchbar, we can see the search icon and the cross icon is conditionally rendered base on whether is clicking inside the input box or not. In this video, we are going to use the useEffect, useRef and useState to create this effect


  • create icon and avatar2:05

    In this part, we will use react fontawesome and heroicon which from tailwindCSS to build the icons group and create the avatar with the help of daisyUI.

  • start building tooltip under heart icon3:18

    In this part, we start building the tooltip which show the number of new followers

  • add triangle on tooltip3:27

    In this part, we are going to add the triangle to the tooltip


  • add animation on tooltip under heart icon2:30

    We already finish the tooltip at the previous part. We are going to add the animation on this tooltip.

  • start building tooltip of searchbar5:03

    In this part, we start building the tooltip of the search, which include the avatar, the title description and the cross icon. We use the heroicon and tailwindcss at this part.

  • add triangle to the searchbar tooltip1:43

    In this part, we are going to add the triangle shape to the tooltip

    You can also refer to this for knowing how to create a triangle shape

    https://youtu.be/X1rybfFNcBk

  • conditional render the searchbar1:04

    In this part, we are going to add the condition to render the tooltip, so when the user click on the searchbar, the tooltip will appear and vice versa.

Requirements

  • basic reactjs

Description

Create Instagram UI clone with Next.js and tailwind CSS

In this project, we are going to create the Instagram header UI clone with Next.js and tailwind CSS.

The instagram clone looks the same as the real one. It contain the search bar which has the search icon and the cross icon, we will use the react fontawesome and heroicon for creating the icons.

We will create the icons group and avatar with the help of Daisy UI, which enhance the tailwind CSS. We will also add the tooltip which like dropping from the heart icon and it will disppear after a few seconds. This tooltip display how many users just following you.

Also, the tooltip of the search will render only when user click on the input box. The search icon will disappear when



Why Nextjs?

All of the React components that make up a website's user-facing section are rendered on the server first. This means that after the HTML has been transmitted to the client (the user's browser), the user can read the material on the page without having to do anything further. The user perceives page loading speeds to be substantially faster as a result of this.

SSR also provides an out-of-the-box, indexable and crawlable website, which is critical for Search Engine Optimization (SEO) because no client-side javascript is required to view the page content. Essentially, increased technical SEO benefits our clients.


Why tailwindCSS?

Tailwind CSS is a popular low-level CSS framework with a lot of customization options. Bootstrap is widely used as a comparison. They are, nevertheless, essentially different. Rather of delivering pre-designed components like Bootstrap, Tailwind provides building pieces that allow developers to quickly create designs.


Why Daisy UI?

Daisy UI enhances Tailwind with attractive component classes that are totally customisable and themeable. Daisy UI creates a scalable and designer-friendly design system.


What we will cover

Using the react hook to check the user click on the inputbox or not, use the fontawesome, heroicon and daisy ui to help us create this beautiful ig header. Take our css skill to next level by using the CSS animation, transition, transform to build our tooltips.


Who this course is for:

  • Developers who want to build a real world app with Nextjs and tailwindCSS