floating-ui-plus / web components

Floating UI
PlusWeb Components

Lit-powered custom elements and framework-neutral interactions,
rendered by Astro.

LIVE SIGNAL07@floating-ui-plus/web-components + Astro 7
01 / observe

The DOM is
the API.

Every card composes Lit-powered custom elements inside Astro-rendered HTML. No Floating UI directive is exposed to consumers.

ROUTE MAP/web-components/:primitive
Ahover + focus

Signal tooltip

One custom element wires pointer intent, keyboard focus, dismissal, and descriptive ARIA.

Positioned by autoUpdate
<floating-reference> + <floating-content>
Bnamed slots

Anchored popover

The trigger and panel are composed declaratively through named slots.

REFERENCE / 42.8°Portal, still connected.

ARIA and outside-press behavior are owned by the component.

<floating-portal> + <floating-content>
T2 coordinated roots

Nested command tree

Open “Move to project” with click or ArrowRight. Escape returns focus to its parent item.

<floating-tree> + <floating-node>
Dvirtual reference

Cursor signal

Move across the field. A virtual reference follows the pointer instead of the whole element.

Awaiting pointer
Pointer is the reference
<floating-root> + clientPoint()
Fframework-neutral search

Multilingual combobox

Search by city, country, local script, alias, or forgiving typo.

Destination suggestions closed

SearchController + <floating-root> + listNavigation()
P12 typed directions

Placement constants

Choose every side and alignment without repeating string literals.

Open placement lab
<floating-root placement="bottom-start">