Code Snippets
These are collections of code snippets I have used in some of my projects and saved them for easy use in future. These would be relatively short snippets and some might require setup instructions.
Debounce in JavaScript
Create a simple reusable debounce function
Valid HTTP URL
Check if a string is a valid HTTP URL
Gradient Text using TailwindCSS
Create a gradient text using TailwindCSS
Loading Progress Indicator
React hook to use NProgress with Next.js router.
Merge TailwindCSS Classes
Simple utility function to merge tailwind classes