floating-ui: Easy Element Positioning
Floating-ui is a TypeScript library that provides precise control over floating elements, such as tooltips, popovers, and dropdowns, for web applications.
- •When developing custom UI components that require precise positioning and overlap management
- •When integrating third-party libraries that require floating elements, such as date pickers or autocomplete inputs
- •When creating complex, interactive web applications that require precise control over layout and positioning
Compute the position of a tooltip element relative to a button element: `const { x, y } = computePosition(document.querySelector('#button'), document.querySelector('#tooltip'), { placement: 'top' })`Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/floating-ui && curl -fsSL https://workflowstacks.com/api/skills/floating-ui/claude-skill -o ~/.claude/skills/floating-ui/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Floating-ui: Easy Element Positioning is a large TypeScript project (~17k lines across 225 code files, plus 136 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit a month ago, MIT license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2package.jsonDependencies and the commands it exposes
- 3packages/core/README.mdInside packages/core/ — the main logic begins here
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/floating-ui && curl -fsSL https://workflowstacks.com/api/skills/floating-ui/claude-skill -o ~/.claude/skills/floating-ui/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? Claim your listing → and earn 85% of every sale.
Related skills
More ai-agent tools founders pair with this one.