#ui-elements #element #port-of-floating-ui #tooltip #positioning #platform-ui #popovers #dropdowns

floating-ui-core

Rust port of Floating UI. Positioning library for floating elements: tooltips, popovers, dropdowns, and more.

22 releases (6 breaking)

Uses new Rust 2024

new 0.6.0 Nov 4, 2025
0.5.0 Jun 18, 2025
0.2.1 Jan 8, 2025
0.2.0 Dec 18, 2024
0.0.2 Mar 24, 2024

#354 in Math

Download history 114/week @ 2025-07-15 71/week @ 2025-07-22 24/week @ 2025-07-29 22/week @ 2025-08-05 3/week @ 2025-08-12 38/week @ 2025-08-19 22/week @ 2025-08-26 100/week @ 2025-09-02 101/week @ 2025-09-09 79/week @ 2025-09-16 28/week @ 2025-09-23 60/week @ 2025-09-30 90/week @ 2025-10-07 63/week @ 2025-10-14 60/week @ 2025-10-21 15/week @ 2025-10-28

235 downloads per month
Used in 7 crates (via floating-ui-dom)

MIT license

160KB
4K SLoC

Rust port of Floating UI.

This is the platform-agnostic core of Floating UI, exposing the main [compute_position][crate::compute_position::compute_position()] function but no platform interface logic.

See the Rust Floating UI book for more documenation.

See @floating-ui/core for the original package.


Rust Floating UI Logo

floating-ui-core

This is the platform-agnostic core of Floating UI, exposing the main compute_position function but no platform interface logic.

Rust Floating UI is a Rust port of Floating UI.

Documentation

See the Rust Floating UI book for documentation.

Rust for Web

The Rust Floating UI project is part of Rust for Web.

Rust for Web creates and ports web libraries for Rust. All projects are free and open source.

Dependencies

~0.6–1.6MB
~34K SLoC