一覧へ戻る
floating-ui/react-popper(新しいタブで開きます)
主要言語: JavaScript
🍿⚛Official React library to use Popper, the positioning library
- star 数
- 2,483
- watcher 数
- 2
- fork 数
- 229
- issue 数
- 39
- 最終更新
- 2024/05/09
主要言語: JavaScript
🍿⚛Official React library to use Popper, the positioning library
React wrapper around Popper.
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.
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>
The full documentation can be found on the official Popper website:
http://popper.js.org/react-popper
git clone git@github.com:popperjs/react-popper.git
cd ~/react-popper
npm install or yarn
npm run demo:dev or yarn demo:dev
http://localhost:1234/