Simple React icons for your UI. This package provides the free and open source standart.io icon library as easy-to-use React components, compatible with both JavaScript and TypeScript.
Install the package with the package manager of your choice.
npm i --save standartio-react-icons
standartio-react-icons
can be imported into your React component files, like any other package. Each icon component is exported as a named export with the following type signature:
(props: React.SVGProps<SVGSVGElement>) => JSX.Element;
Example
import { PersonInAHat } from "standartio-react-icons";
export const MyComponent = () => {
return (
<PersonInAHat
onClick={() => console.log("Nice hat!")}
style={{ color: "black" }}
/>
);
};