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).

amvasdev-ui

React component library with DaisyUI styling and custom JavaScript implementations.

Documentation

  • Components
  • Hooks
  • Utilities
  • Theming
  • Installation

Resources

  • GitHub
  • NPM Package

Built With

  • DaisyUI
  • Tailwind CSS
  • React
Styled withusingDaisyUI

© 2025 amvasdev-ui. All rights reserved.

Built with React, Next.js, Tailwind CSS, and DaisyUI