Browse our library of useful hooks.
A hook to determine if the user is on a Mac.
A hook to enable the creation of containers that automatically scroll to the bottom of their content.
A hook to simplify working with boolean values.
A hook to simplify copying text to the clipboard.
A hook to track and sort items based on their frequency of use.
A hook to track the size of the screen using the standard Tailwind CSS breakpoints.
A hook to manage the state of a promise reactively in the absence of {#await}.
Repeatedly call a function on an accelerating schedule while a condition holds (hold-to-repeat, ramping counter).
A hook used to generate a table of contents based on the page content