Skip to content

yaosamo/standartio-react-icons

Repository files navigation

standartio-react-icons

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.

Installation

Install the package with the package manager of your choice.

npm i --save standartio-react-icons

Usage

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" }}
    />
  );
};

About

[ React library ] Simple icons for your UI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published