@chakra-ui/portal

React component used to render children outside the DOM hierarchy of the parent component

use-click-away-react

A custom React hook that triggers a callback when a user clicks outside a specified element, with optional exclusions.

storybook-react-context

Manipulate React context inside Storybook. Read state and dispatch updates from outside of React component.

@lani.ground/react-outside-click-handler

Handler components that make it easier to control when you click on a component other than the one you want.