Contents

Panels · Guides

Window features

Turn off what a panel offers: moving, resizing, tiling, folding, maximizing, closing.

Everything a window can do is on by default. Switch features off per app (or per <Window>), and every way to reach them goes: the button, the gesture and the shortcut.

$ pnpm dlx shadcn@latest add @nynxz/window
defineApp({
  id: "pinned",
  title: "pinned note",
  features: { move: false, resize: false, fold: false, maximize: false, close: false },
  render: () => <PinnedNote />,
});

// or directly on a window
<Window id="reader" features={{ close: false, minimize: false }} />;
FeatureOff removes
movedragging by the title, arrow-key moves
resizeedge grips, Alt + arrows
tiledropping into the tiling, Ctrl + ←/→
minimizethe minimize button
maximizethe button, double-clicking the title, Ctrl + ↑
foldthe fold button
closethe close button

Folding only applies to floating windows: a tile can't give up its space, so folding one would leave a hole. Tiles and maximized windows don't show the fold button, and tiling a folded window unfolds it. useWindowFrame reports this as canFold.

The docs page you're reading uses this: it can't be closed or minimized, only moved and resized.