Code Snippets to Recycle ♻️
There's a lot of code I end up reusing or constantly looking up on Google on how to do it. To save my time and maybe yours, here's list of snippets that might help you out.
#TailwindCSS
#React
Progress Bar Component
A React progress bar component as circles or rectangles
#Sanity
#GitHub Actions
Automatic Sanity Studio Deploy
Use GitHub Actions to deploy Sanity Studio every code push.
#Typescript
#React
Basic Avatar Component
Free to use starter Avatar component in React/Typescript.
#HTML
#Javascript
Switch Component
UI component to check a value on or off.
#Sanity
#Next.js
Dynamic Page with Sanity + Next.js
Retrieve Sanity CMS data for blogs, ecommerce, or other dynamic items