#floating #overflow #floating-ui-core

floating-ui-core

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

16 unstable releases (3 breaking)

Uses new Rust 2024

new 0.3.0 Apr 16, 2025
0.2.1 Jan 8, 2025
0.2.0 Dec 18, 2024
0.1.3 Nov 3, 2024
0.0.2 Mar 24, 2024

#526 in Algorithms

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

MIT license

160KB
4K SLoC

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.


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.

Dependencies

~0.7–1.5MB
~33K SLoC