#floating #element #ui #port #platform #positioning #interface

floating-ui-core

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

8 releases

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

#374 in Math

Download history 165/week @ 2024-03-20 29/week @ 2024-03-27 195/week @ 2024-04-03 6/week @ 2024-04-10 219/week @ 2024-04-17

455 downloads per month
Used in 2 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