rescript-hugeicons

0.0.1 • Public • Published

ReScript binding to Hugeicons

Use Hugeicons (supported icons list) as ReScript-React Components, thanks to these bindings.

@jsx.component
let make = () => {
  <div>
    <Hugeicons.Search01Icon size=24 />
    <Hugeicons.ChampionIcon size=24 color="#FFF" />
  </div>
}

Demo

Please visit the following link to check out the demo. ReScript-Hugeicons Demo

Installation

yarn add rescript-hugeicons

or

npm install rescript-hugeicons

or

bun add rescript-hugeicons

And in rescript.json, add "rescript-hugeicons" to bs-dependencies

"bs-dependencies": ["rescript-hugeicons"]

The binding has the following dependencies, and they have to be installed.

Author

Jean-Jacques Akakpo (gensjaak)

License

MIT

Package Sidebar

Install

npm i rescript-hugeicons

Weekly Downloads

4

Version

0.0.1

License

MIT

Unpacked Size

931 kB

Total Files

7

Last publish

Collaborators

  • gensjaak