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.
Progress Bar Component
A React progress bar component as circles or rectangles
Automatic Sanity Studio Deploy
Use GitHub Actions to deploy Sanity Studio every code push.
Basic Avatar Component
Free to use starter Avatar component in React/Typescript.
UI component to check a value on or off.
Dynamic Page with Sanity + Next.js
Retrieve Sanity CMS data for blogs, ecommerce, or other dynamic items