Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

heroicons

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

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

//Start using heroicons!
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>
  )
}
Source by github.com #
 
PREVIOUS NEXT
Tagged: #heroicons
ADD COMMENT
Topic
Name
5+3 =