#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

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 9/week @ 2024-07-29 4/week @ 2024-08-05 6/week @ 2024-08-12 9/week @ 2024-08-19 284/week @ 2024-08-26 33/week @ 2024-09-02 8/week @ 2024-09-09 52/week @ 2024-09-16 260/week @ 2024-09-23 51/week @ 2024-09-30 82/week @ 2024-10-07 70/week @ 2024-10-14 240/week @ 2024-10-21 241/week @ 2024-10-28 261/week @ 2024-11-04 144/week @ 2024-11-11

895 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