Demo and Documentation
Installation
Package Managers
# npm
npm i tippy.js
# Yarn
yarn add tippy.js
Import the tippy
constructor and the core CSS:
import tippy from 'tippy.js';
import 'tippy.js/dist/tippy.css';
CDN
<script src="https://unpkg.com/@popperjs/core@2"></script>
<script src="https://unpkg.com/tippy.js@6"></script>
The core CSS comes bundled with the default unpkg import.
Usage
For detailed usage information, visit the docs.
Component Wrappers
- React: @tippyjs/react (official)
- Ember: ember-tippy (unofficial)
License
MIT
关于
Tooltip, popover, dropdown, and menu library
最后更新于 1 days ago
License