See snippets matching any of the the selected tags.
A more inclusive complement to TypeScript's Exclude helper type - only include the parts of a union type that are assignable to another type
Get access to the current fullscreen element, and controls to enter, exit, and toggle fullscreen.
A tiny wrapper around document.startViewTransition that respects users' prefers-reduced-motion preferences
Create a promise that you manually resolve or reject at any time!
A useful function to print out the value of something with an optional message
Tailwind CSS Hocus Plugin
A plugin for lazy people like me who use the same styles for hover and focus states
Stop Vercel GitHub Comments
Stop Vercel's bot from commenting on PRs and commits (and the associated emails)
Save state to localStorage and sync it between hook instances, tabs and windows!
Toggle and set a boolean piece of state with a slightly better interface than straight useState
Save state to localStorage with an interface almost identical to useState
27 snippets total