리액트 아이콘
리액트의 라이브러리로 수 많은 아이콘을 컴포넌트 형식으로 사용 할 수 있다.
터미널에서 npm을 사용해 설치한다.
npm install react-icons --save
React icon에서 원하는 아이콘을 찾아서 불러 올 수 있다.
React Icons
React Icons Include popular icons in your React projects easily with react-icons, which utilizes ES6 imports that allows you to include only the icons that your project is using. Installation (for standard modern project) npm install react-icons --save Usa
react-icons.github.io
import { IconName } from "react-icons/종류";
사용할 컴포넌트에서 원하는 아이콘을 불러와서 컴포넌트처럼 사용하면 된다.
<div>
<IconName />
</div>
간-단
리액트 아이콘
리액트의 라이브러리로 수 많은 아이콘을 컴포넌트 형식으로 사용 할 수 있다.
터미널에서 npm을 사용해 설치한다.
npm install react-icons --save
React icon에서 원하는 아이콘을 찾아서 불러 올 수 있다.
React Icons
React Icons Include popular icons in your React projects easily with react-icons, which utilizes ES6 imports that allows you to include only the icons that your project is using. Installation (for standard modern project) npm install react-icons --save Usa
react-icons.github.io
import { IconName } from "react-icons/종류";
사용할 컴포넌트에서 원하는 아이콘을 불러와서 컴포넌트처럼 사용하면 된다.
<div>
<IconName />
</div>
간-단