Resizable Panels for React and Tailwind
Some layouts belong to the person using them. Resizable panels let people drag a divider to give the editor more room, shrink a sidebar or split a view in two. The details matter: a handle big enough to grab, keyboard support, sizes that remember themselves and panels that collapse cleanly. Try dragging each one here, then install it and lay out your own app around it.
About resizable panels
Resizable panels split a screen into areas people can size themselves by dragging the divider between them. Editors, mail clients, dashboards and AI apps with a chat beside a preview all use them, horizontally, vertically or nested, often with panels that collapse when dragged small.
Make the handle easy to grab with a hit area wider than the line, support the arrow keys for keyboard users, set sensible minimum sizes and save the layout so it survives a reload. On phones, stack the panels or switch between them with tabs instead of dragging.
