Z
Zyeon UI

useQueryParam · Zyeon UI

An SSR-safe hook that keeps a piece of state in a URL query parameter, with typed codecs, defaults kept out of the link, replace-by-default history and every instance on the page in sync.

npx shadcn@latest add @zyeon/use-query-param
Preview useQueryParam on Zyeon UI's site (opens in a new tab)

Not checked yet

Zyeon UI limits how often it can be asked, and useQueryParam hasn't had its turn. Its source will show here once it has.