Nationwide Polamorous Matrimony
    Wondering what’s next for npm?Check out our public roadmap! »

    rescript-heroicons

    0.0.3 • Public • Published

    ReScript binding to Heroicons

    With this binding, heroicons can be used as ReScript-React Components.

    open Heroicons
    
    @react.component
    let make = () => {
      <div>
        <Solid.PaperAirplaneIcon className="w-8 h-8" />
        <Outline.PaperAirplaneIcon className="w-8 h-8" />
      </div>
    }
    (* w-8, h-8 are tailwind css classes.*)

    Demo

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

    Installation

    yarn add rescript-heroicons
    or
    npm install rescript-heroicons

    In bsconfig.json

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

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


    Author

    Nyi Nyi Than (Jazz)

    License

    MIT

    Install

    npm i rescript-heroicons

    DownloadsWeekly Downloads

    6

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    74.8 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar