Skip to Content
Spiti

Use floating windows

Open plugin windows that stay above your other apps, move and resize them, and choose whether they follow you across Spaces.

Open a floating window

Plugins can open small windows that stay on top of your other apps, such as a countdown pill or a notes window. Open one from the plugin's page, a card or menu bar panel, a global shortcut, or its command in the command center, such as Open Simple Notes.

A floating window appears without taking focus from the app you're using. Some windows take your typing once you click into them. Some show over full-screen apps too.

Move, resize and close it

Drag a floating window anywhere on its background to move it; buttons and fields keep working as usual. Most windows reopen where you left them, on each display. Windows that allow resizing change size from their edges and reopen at the size you left.

Press ⌘W to close the focused window. Some windows also close with Escape.

Right-click a window for:

  • Keep on top, on by default.
  • Show on all Spaces, on by default.
  • Close.

Spiti remembers both switches for each window. Some plugins show their own menu on right-click instead.

Open windows don't come back after Spiti relaunches, unless the plugin asks for it, as a sticky note might.

Each open floating window uses its own process, so keep only the ones you need open. To close all of a plugin's windows and stop new ones, turn off Floating windows in its Surfaces card.

For plugin authors

Declare each window under views.floating in spiti.json with a label, and an optional command that becomes its command center entry, word for word. In defineViews({ floating }), give its component and size, and optionally:

OptionValuesDefault
minSize, maxSizeLimits for resizingsize
material"vibrancy", "glass" (Liquid Glass from macOS 26, vibrancy before) or "none""vibrancy"
focus"none" never takes keys; "onClick" takes them when clicked"onClick"
fullScreenAlso show over full-screen appsfalse
instances"single" or "multiple""single"
position"remember", "topCenter", "bottomRight", "center""remember"
resizableResize by the edgesfalse
restoreReopen after a relaunchfalse
escapeClosesEscape closes itfalse

Open a window from a view with useFloatingWindow(id) from @spiti/sdk/ui, which returns open(params?), close() and isOpen. Server code can't open windows. Inside one, useFloatingWindowControls() returns its params, close() and setSize(). Mark an area with data-no-drag to keep it from moving the window.

On this page