{"schemaVersion":1,"id":"floating-ui","name":"Floating UI","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/floating-ui/","officialUrl":"https://github.com/floating-ui/floating-ui","isCatalog":false,"description":"Calculates floating interface positions: places menus, tooltips, and popovers beside an anchor while accounting for viewport boundaries.","tasks":["Place a popover beside an interface element","Configure placement and viewport boundary handling during scroll/resize"],"categoryIds":["frontend","design"],"subcategoryIds":["frontend.components","design.systems"],"tags":["Floating UI","UI","Development"],"aliases":["floating-ui/floating-ui","floating-ui","floating-positioning"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Place a popover beside an interface element","chooseWhen":["Place a popover beside an interface element","Configure placement and viewport boundary handling during scroll/resize"],"considerInstead":[],"requirements":["Choose the package for your platform and define the anchor and floating element."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: MIT for the code; dependencies have separate licenses.","Basic positioning alone does not implement the component's full keyboard/focus workflow: React interactions require the corresponding package."],"faq":[{"question":"What can you use for free in Floating UI?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with Floating UI?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for Floating UI?","answer":"MIT for the code; dependencies have separate licenses."},{"question":"How do you get started with Floating UI?","answer":"Connect the reference element and floating container. Configure placement and viewport boundary handling during scroll/resize. Configure styles and check empty, loading, and error states."},{"question":"How does @floating-ui/react differ from @floating-ui/react-dom?","answer":"@floating-ui/react combines positioning with React interactions. If you only need coordinates and collision handling, the smaller @floating-ui/react-dom package is available. Separate packages exist for DOM, React Native, and Vue; the core lets you connect your own platform."}],"related":[],"sources":["https://github.com/floating-ui/floating-ui","https://raw.githubusercontent.com/floating-ui/floating-ui/HEAD/README.md","https://raw.githubusercontent.com/floating-ui/floating-ui/HEAD/LICENSE","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Place a popover beside an interface element.","inputs":["The component's design, states, and data.","A compatible framework and the project's styles."],"steps":["Connect the reference element and floating container.","Configure placement and viewport boundary handling during scroll/resize.","Configure styles and check empty, loading, and error states."],"checks":["The keyboard, focus indicators, and a screen reader let users complete the action.","The component works on a narrow screen and with long data values."]},"sources":["https://github.com/floating-ui/floating-ui","https://raw.githubusercontent.com/floating-ui/floating-ui/HEAD/README.md","https://raw.githubusercontent.com/floating-ui/floating-ui/HEAD/LICENSE","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"UI library","kind":"library","pricingNote":"Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/floating-ui/floating-ui","label":"Official source"},{"url":"https://raw.githubusercontent.com/floating-ui/floating-ui/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/floating-ui/floating-ui/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}