insta icon in next js
To add the Instagram icon in a Next.js project, follow these steps:
- First, install the necessary package using npm or yarn:
npm install react-icons
or
yarn add react-icons
- Import the Instagram icon from the react-icons library in the component where you want to use it:
import { FaInstagram } from 'react-icons/fa';
- Finally, use the Instagram icon within your component's JSX:
const MyComponent = () => {
return (
<div>
<FaInstagram />
</div>
);
};