GitHub

Introduction

Installation

Peer dependencies

react, framer-motion and @floating-ui/react-dom-interactions are peerDependencies of useOverlay. You don't need to install them. But if you have them already useOverlay will use them, instead of installing different versions of that packages.

What are peerDependencies?

Installing

Choose the package manager that suits you.

npm install react-useoverlay
pnpm add react-useoverlay
yarn add react-useoverlay
Previous
Getting started