Back to rankings
🍿⚛Official React library to use Popper, the positioning library
popperreactplacementpopovertooltiptooltips
Key Metrics
Star Growth
Stars
2.5k
Forks
228
Weekly Growth
—
Issues
22
1k2k
Oct 2016May 2018Jan 2020Aug 2021Apr 2023Dec 2024Jul 2026
Artifactsnpm
npm install react-popperREADME
React Popper
React wrapper around Popper.
⚠️ This library is in maintenance mode!
This library wraps @popperjs/core, not @floating-ui/dom.
To use the new Floating UI package with React, instead visit https://floating-ui.com/docs/react-dom.
Install
Via package managers:
# With npm
npm i react-popper @popperjs/core
# With Yarn
yarn add react-popper @popperjs/core
Note: @popperjs/core must be installed in your project in order for
react-popper to work.
Via script tag (UMD library exposed as ReactPopper):
<script src="https://unpkg.com/react-popper/dist/index.umd.js"></script>
Documentation
The full documentation can be found on the official Popper website:
http://popper.js.org/react-popper
Running Locally
clone repo
git clone git@github.com:popperjs/react-popper.git
move into folder
cd ~/react-popper
install dependencies
npm install or yarn
run dev mode
npm run demo:dev or yarn demo:dev
open your browser and visit:
http://localhost:1234/
Related repositories