122
total weekly downloads
2 packages
use-dynamic-viewport
React hook that injects --dvh and --keyboard-height CSS variables using the Visual Viewport API. Fixes the gap CSS dvh leaves when the mobile keyboard opens.
use-form-guard
Framework-agnostic React hook to prevent accidental navigation when a form has unsaved changes. Works with React Hook Form, Formik, or any boolean dirty state.