Hooks
Custom React hooks provided by amvasdev-ui for common UI patterns and utilities. These hooks help manage state, handle events, and provide functionality with minimal code.
useClosableContainer
Hook for managing closable containers like modals, dropdowns, and popovers.
useThemeChange
Hook for changing daisyUI themes dynamically.
useEventListener
Hook for adding event listeners with automatic cleanup.
useOnClickOutside
Hook for detecting clicks outside of an element.
useToggle
Hook for toggling boolean values.
useIsomorphicLayoutEffect
Hook that uses useLayoutEffect on the client and useEffect on the server (for SSR compatibility).