This package has been deprecated

Author message:

Official Heroicons V1 released. Please use the following for future projects: https://www.npmjs.com/package/@heroicons/react

heroicons-react
TypeScript icon, indicating that this package has built-in type declarations

1.4.1 • Public • Published

Heroicons React

npm version npm downloads

Installation

yarn add heroicons-react
npm install heroicons-react

Usage

import React from "react";
import { Sparkles } from "heroicons-react";

const App = () => {
  return <Sparkles />;
};

export default App;

Icons can be sized - based on height (default: 24)

<Sparkles size={42} />

You can also include the whole icon pack:

import React from "react";
import * as Icons from "heroicons-react";

const App = () => {
  return <Icons.Sparkles />;
};

export default App;

Available Icons

https://heroicons.com/

/heroicons-react/

    Package Sidebar

    Install

    npm i heroicons-react

    Weekly Downloads

    1,474

    Version

    1.4.1

    License

    MIT

    Unpacked Size

    1.39 MB

    Total Files

    9

    Last publish

    Collaborators

    • ecklf