These are the docs that were hosted on popper.js.org, which has been
decommissioned. They are preserved here in plain Markdown so the Popper v1 and
v2 reference material stays available to people who have not migrated to
Floating UI yet.
Popper is the predecessor to Floating UI. For new code, use the Floating UI docs instead β nothing in this repository describes the current library.
Note
This is a read-only archive. Popper is no longer maintained, and these documents are not updated β they record the library as it was documented when the site was retired.
The folder layout mirrors the old site's URLs, so an old link maps directly onto
a file. popper.js.org/docs/v2/modifiers/flip/ is
docs/v2/modifiers/flip.md; a URL ending at a
directory is that folder's index.md.
docs/v2/β Popper 2 (@popperjs/core): constructors, lifecycle, modifiers, utils, tutorial, and the v1 β v2 migration guidedocs/v1/β Popper 1 (popper.js) API referencereact-popper/v2/β thereact-popperwrapper: theusePopperhook, render props, portals, and typings
These files were MDX pages rendered by a Gatsby site. Converting them to plain Markdown meant dropping the parts that only existed at build time:
- Frontmatter (
navigationLabel,order,redirect_from) β replaced by a regular# Headingon each page - Interactive demo components (
<OffsetDemo>,<FlipDemo>, and the tutorial's<ResultN>embeds) β these needed a live React runtime. The surrounding prose and code samples that explain each behaviour are unchanged - Ad placeholders, and the
__UNPKG_CDN_URL__build variable, which is now written out ashttps://unpkg.com/@popperjs/core@2
Internal links were repointed at the corresponding .md files, since the old
site served every page at a directory URL. All code samples are preserved
verbatim.