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

floating-ui-core

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

13 releases

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

#332 in Math

Download history 11/week @ 2024-08-22 294/week @ 2024-08-29 21/week @ 2024-09-05 35/week @ 2024-09-12 179/week @ 2024-09-19 133/week @ 2024-09-26 53/week @ 2024-10-03 74/week @ 2024-10-10 91/week @ 2024-10-17 281/week @ 2024-10-24 328/week @ 2024-10-31 182/week @ 2024-11-07 210/week @ 2024-11-14 225/week @ 2024-11-21 159/week @ 2024-11-28 613/week @ 2024-12-05

1,250 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.6MB
~34K SLoC