/solid-floating-ui:solid-floating-uifrom solid-floating-ui
Builds floating UI elements in SolidJS projects using solid-floating-ui: tooltips, popovers, dialogs, selects, menus, context menus, cursor followers, composites, transitions, and delay groups. Includes complete recipes and reactivity rules.
Ships in solid-floating-ui. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build the thing from the matching recipe. Do not improvise the wiring.
| The user wants | Read |
|---|---|
| Hover or focus label on a control | reference/tooltip.md |
| Click-triggered panel anchored to a button | reference/popover.md |
| Centred modal with a backdrop | reference/dialog.md |
| Listbox, select or combobox with keyboard navigation | reference/select.md |
| Dropdown menu, submenus, menu bar | reference/menu.md |
| Right-click menu | reference/context-menu.md |
| Element that follows the pointer | reference/cursor.md |
| Toolbar, tab list or grid with arrow keys, not floating | reference/composite.md |
| Fade or scale the element in and out | reference/transition.md |
| A row of tooltips sharing one delay | reference/delay-group.md |
| A pointer or arrow on the floating element | reference/arrow.md |
Read reference/api.md first whenever the task is not a straight copy of one
recipe, or when something built from a recipe is not updating.
Combine recipes freely. They share one shape, so a select inside a dialog is
the two files' hooks passed to one useInteractions.
get open() { return open(); }, never a captured value and never destructured. You never declare what an option depends on.floating.placement, not const { placement } = floating.() => T: items, labels, scrollElement, the arrow element, a portal root, initialFocus, returnFocus. Anything it produces arrives through a callback: onElementsChange, onLabelsChange, onVirtualItemChange, onOverflowChange. There are no ref containers.{...interactions.getFloatingProps()} in the markup stays live on its own. Never call it inside a loop; that is what getItemProps is for.pnpm add @floating-ui/dom solid-floating-ui
@floating-ui/dom and solid-js are peer dependencies. The package ships JSX
uncompiled through the solid export condition, so a Vite project using
vite-plugin-solid needs no extra configuration.
useDismiss present? Almost every floating element needs it.useRole present? It supplies the ARIA wiring the pattern needs.FloatingPortal when an ancestor clips or stacks it?FloatingFocusManager around it?reference/api.md (opens in a new tab)reference/arrow.md (opens in a new tab)reference/composite.md (opens in a new tab)reference/context-menu.md (opens in a new tab)reference/cursor.md (opens in a new tab)reference/delay-group.md (opens in a new tab)reference/dialog.md (opens in a new tab)reference/menu.md (opens in a new tab)reference/popover.md (opens in a new tab)reference/select.md (opens in a new tab)reference/tooltip.md (opens in a new tab)reference/transition.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub lxsmnsyc/solid-floating-ui --plugin solid-floating-uiOther plugins' skills for the same job