Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

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

PREVIOUS NEXT
Code Example
Javascript :: Error: Material-UI: The data grid component requires all rows to have a unique id property. 
Javascript :: js range 1 to n 
Javascript :: javascript anagram check 
Javascript :: reduce average javascript 
Javascript :: jquery if null or empty 
Javascript :: javascript go back to last page 
Javascript :: javascript get viewport dimensions 
Javascript :: if (!firebase.apps.length) { firebase.initializeApp({}); }else { firebase.app(); // if already initialized, use that one } 
Javascript :: disable eslint for react project 
Javascript :: alpinejs tabs 
Javascript :: javascript keypress backspace not working 
Javascript :: border react native 
Javascript :: enter event in jquery 
Javascript :: javascript replace all characters except letters and numbers 
Javascript :: javascript do arrays intersect 
Javascript :: get input value on keypress jquery 
Javascript :: jest timeout 
Javascript :: console group 
Javascript :: javascript fill 2d array 
Javascript :: title case javascript 
Javascript :: set up node js server express 
Javascript :: javascript loop through array backward 
Javascript :: jquery set text of h1 
Javascript :: Delete icon Mui 
Javascript :: js check string for pangram 
Javascript :: mouse coordinates not match with canvas coordinate 
Javascript :: remove hidden attribute in js 
Javascript :: if string javascript 
Javascript :: sort date according to months in javascript 
Javascript :: javascript sort array of objects by number 
ADD CONTENT
Topic
Content
Source link
Name
8+3 =