Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

heroicons reactjs

//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>
  )
}
Comment

PREVIOUS NEXT
Code Example
Javascript :: node downgrade windows 
Javascript :: moment add 30 days 
Javascript :: get random number in solidity 
Javascript :: javascript wait 5 sec 
Javascript :: javascript get first 2 char 
Javascript :: sequelize undo last migration 
Javascript :: js get viewport width 
Javascript :: js loop ul 
Javascript :: replace class jquery 
Javascript :: remove slashes from string javascript 
Javascript :: update node .js 
Javascript :: display pm or am on date js 
Javascript :: js change opacity 
Javascript :: datatable remove show 
Javascript :: moment format date dd/mm/yyyy 
Javascript :: how to math 
Javascript :: javascript get filename from url 
Javascript :: step over vs step into vs step out 
Javascript :: how to know memory used in localstorage javascript 
Javascript :: getelementsbyclassname.style.display 
Javascript :: javascript snumber two decimal places as string 
Javascript :: react native length of object 
Javascript :: python json dump to file 
Javascript :: js get string before character 
Javascript :: print to console without newline nodejs 
Javascript :: mouse coordinates not math with canvas coordinates in js 
Javascript :: if document is loaded 
Javascript :: get variable name javascript 
Javascript :: javascript json foreach value 
Javascript :: javascript sort in array of objects 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =