#floating #ui-elements #positioning #element #port #platform-agnostic #tooltips

floating-ui-core

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

8 releases

0.0.8 Apr 24, 2024
0.0.7 Apr 24, 2024
0.0.2 Mar 24, 2024

#376 in Math

Download history 171/week @ 2024-03-21 122/week @ 2024-03-28 98/week @ 2024-04-04 4/week @ 2024-04-11 434/week @ 2024-04-18 123/week @ 2024-04-25

758 downloads per month
Used in 3 crates (via floating-ui-dom)

MIT license

150KB
3.5K SLoC

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

Rust Floating UI is a Rust port of Floating UI.


lib.rs:

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 @floating-ui/core for the original package.

Dependencies

~0.7–1.4MB
~33K SLoC