Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

heroicons nextjs

//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 :: find difference between string js 
Javascript :: on window resize react 
Javascript :: jsx 
Javascript :: jquery smooth scrool 
Javascript :: items in center in native 
Javascript :: vue settimeout in computed 
Javascript :: NullInjectorError: No provider for HttpClient! 
Javascript :: run react app in different port 
Javascript :: javascript detect dark mode 
Javascript :: setpresence discord.js 
Javascript :: jquery set select readonly 
Javascript :: angular ng serve with custom port 
Javascript :: object key value as string ts type js 
Javascript :: node js list all installed modules 
Javascript :: find intersection of multiple arrays in javascript 
Javascript :: javascript base64 encode 
Javascript :: json_decode jquery 
Javascript :: wordpress echo admin ajax url 
Javascript :: react native navigation hide navbar 
Javascript :: javascript change string at particular index 
Javascript :: set default version of node nvm 
Javascript :: readable date in javascript 
Javascript :: how to find index of max number in js 
Javascript :: set port nextjs 
Javascript :: how to clear nodemon cache 
Javascript :: before in material ui style 
Javascript :: logic for building calculator using JavaScript without using eval 
Javascript :: string check javascript 
Javascript :: credit card regex javascript 
Javascript :: javascript sort array of objects by date 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =