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

13 releases

new 0.1.3 Nov 3, 2024
0.1.2 Sep 25, 2024
0.1.1 Aug 31, 2024
0.0.9 Jun 5, 2024
0.0.2 Mar 24, 2024

#5 in #floating

Download history 14/week @ 2024-07-14 15/week @ 2024-07-21 10/week @ 2024-07-28 3/week @ 2024-08-04 6/week @ 2024-08-11 9/week @ 2024-08-18 219/week @ 2024-08-25 97/week @ 2024-09-01 9/week @ 2024-09-08 50/week @ 2024-09-15 220/week @ 2024-09-22 91/week @ 2024-09-29 75/week @ 2024-10-06 71/week @ 2024-10-13 231/week @ 2024-10-20 180/week @ 2024-10-27

562 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 the 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.7MB
~36K SLoC