RetroResizable

Resizable panel layouts with Mac OS 9 styled drag handles and grip dot indicators.

Installation

npx shadcn@latest add "https://nostalgia-ui.com/r/retro-resizable.json"

Setup: installing any component also installs nostalgia-theme (the --os9-* tokens and os9-* utilities) via registryDependencies. To add the theme on its own: npx shadcn@latest add https://nostalgia-ui.com/r/nostalgia-theme.json. Put @layer ui-sdk; above @import "tailwindcss" in your global CSS (why).

Import

import { RetroResizable } from "@/components/ui/retro-resizable"

Resizable panel layouts with OS9-styled drag handles. Supports horizontal and vertical orientations with grip dot indicators. Built on UI SDK's Resizable, the WAI-ARIA window splitter.

Horizontal Layout

Panel A
Panel B

Vertical Layout

Top Panel
Bottom Panel

Three-Panel Layout

Sidebar
Content
Inspector

Drag the handles between panels to resize; they darken while dragged. Or Tab to a handle and use the arrow keys (Shift for bigger steps, Home and End for the limits): the panels ease to each new size.