reactjs heroicons

82

reactjs heroicons -

//Code from heroicons GitHub - https://github.com/tailwindlabs/heroicons

//Terminal - Install heroicons
npm install @heroicons/react

//Start using reactions!
import { BeakerIcon } from '@heroicons/react/solid'

function MyComponent() {
  return (
    <div>
      <BeakerIcon className="h-5 w-5 text-blue-500"/>
      <p>Hello from heroicons!</p>
    </div>
  )
}

install heroicons on react -

npm install @heroicons/react

Comments

Submit
0 Comments