insta icon in next js

To add the Instagram icon in a Next.js project, follow these steps:

  1. First, install the necessary package using npm or yarn:
npm install react-icons

or

yarn add react-icons
  1. Import the Instagram icon from the react-icons library in the component where you want to use it:
import { FaInstagram } from 'react-icons/fa';
  1. Finally, use the Instagram icon within your component's JSX:
const MyComponent = () => {
  return (
    <div>
      <FaInstagram />
    </div>
  );
};