# Floating UI

[BASE product page](<https://base.akulich.dev/en/library/floating-ui/>) · [Resource](<https://github.com/floating-ui/floating-ui>)

ID: floating\-ui · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

Calculates floating interface positions: places menus, tooltips, and popovers beside an anchor while accounting for viewport boundaries\.

## Type

UI library

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/floating-ui/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/floating-ui/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/floating-ui/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/floating-ui/#resource-access>)

Code and local use under MIT\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/floating-ui/#resource-tasks>)

- Place a popover beside an interface element
- Configure placement and viewport boundary handling during scroll/resize

## Category IDs

- frontend
- design

## Subcategory IDs

- frontend\.components
- design\.systems

## Tags

- Floating UI
- UI
- Development

## Also known as

- floating\-ui/floating\-ui
- floating\-ui
- floating\-positioning

## [Selection purpose](<https://base.akulich.dev/en/library/floating-ui/#resource-selection>)

Place a popover beside an interface element

## [Choose this when](<https://base.akulich.dev/en/library/floating-ui/#resource-selection>)

- Place a popover beside an interface element
- Configure placement and viewport boundary handling during scroll/resize

## [Requirements](<https://base.akulich.dev/en/library/floating-ui/#resource-selection>)

- Choose the package for your platform and define the anchor and floating element\.

## [Limitations](<https://base.akulich.dev/en/library/floating-ui/#resource-selection>)

- 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\.

## [Questions before use](<https://base.akulich.dev/en/library/floating-ui/#resource-faq>)

### What can you use for free in Floating UI?

Code and local use under MIT\.

### What additional costs might arise with Floating UI?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for Floating UI?

MIT for the code; dependencies have separate licenses\.

### How do you get started with Floating UI?

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\.

### How does @floating\-ui/react differ from @floating\-ui/react\-dom?

@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\.

## Sources for the selection guide

- [https://github\.com/floating\-ui/floating\-ui](<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/README.md>)
- [https://raw\.githubusercontent\.com/floating\-ui/floating\-ui/HEAD/LICENSE](<https://raw.githubusercontent.com/floating-ui/floating-ui/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)

## [Possible workflow](<https://base.akulich.dev/en/library/floating-ui/#resource-scenario>)

Place a popover beside an interface element\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- The component's design, states, and data\.
- A compatible framework and the project's styles\.

## Steps

1. Connect the reference element and floating container\.
2. Configure placement and viewport boundary handling during scroll/resize\.
3. Configure styles and check empty, loading, and error states\.

## Check your result

- 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\.

## [License](<https://base.akulich.dev/en/library/floating-ui/#resource-license>)

MIT for the code; dependencies have separate licenses\.

## License explanations for the specified scope

### MIT — permissive license

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\.

[License terms](<https://opensource.org/license/mit>)

## [Sources](<https://base.akulich.dev/en/library/floating-ui/#resource-sources>)

- [Official source](<https://github.com/floating-ui/floating-ui>)
- [Official source](<https://raw.githubusercontent.com/floating-ui/floating-ui/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/floating-ui/floating-ui/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

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\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
