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.
pinned note
Arrow keys move the window, Alt with arrows resizes it, Shift takes bigger steps. Control with left or right tiles it on that side, with up maximizes, with down returns it to floating or minimizes. While dragging, drop at a screen edge to tile, or hold Shift to split the window underneath.move, resize, fold, maximize and close are off: this one stays put.
regular
Arrow keys move the window, Alt with arrows resizes it, Shift takes bigger steps. Control with left or right tiles it on that side, with up maximizes, with down returns it to floating or minimizes. While dragging, drop at a screen edge to tile, or hold Shift to split the window underneath.Everything on, the default.
$ pnpm dlx shadcn@latest add @nynxz/windowdefineApp({
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 }} />;
| Feature | Off removes |
|---|---|
move | dragging by the title, arrow-key moves |
resize | edge grips, Alt + arrows |
tile | dropping into the tiling, Ctrl + ←/→ |
minimize | the minimize button |
maximize | the button, double-clicking the title, Ctrl + ↑ |
fold | the fold button |
close | the 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.