#ui-elements #floating #positioning #web-ui #element #tooltip #port

floating-ui-core

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

15 releases

new 0.2.1 Jan 8, 2025
0.2.0 Dec 18, 2024
0.1.3 Nov 3, 2024
0.1.2 Sep 25, 2024
0.0.2 Mar 24, 2024

#487 in GUI

Download history 210/week @ 2024-09-20 100/week @ 2024-09-27 75/week @ 2024-10-04 72/week @ 2024-10-11 189/week @ 2024-10-18 184/week @ 2024-10-25 333/week @ 2024-11-01 182/week @ 2024-11-08 227/week @ 2024-11-15 202/week @ 2024-11-22 178/week @ 2024-11-29 643/week @ 2024-12-06 269/week @ 2024-12-13 129/week @ 2024-12-20 160/week @ 2024-12-27 147/week @ 2025-01-03

762 downloads per month
Used in 6 crates (via floating-ui-dom)

MIT license

160KB
4K SLoC

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 UI libraries for Rust. All projects are free and open source.


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 the Rust Floating UI book for more documenation.

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

Dependencies

~0.7–1.6MB
~34K SLoC