Skip to content
Design System
GitHub

Resizable

v0.17.3Beta

Panels resized by dragging the line between them or with the arrow keys, horizontal, vertical or nested (react-resizable-panels).

Robotslist
Mapthe selected robot

Resizable horizontal

Install
npx shadcn add @syncrobotic/resizable

Also installs: react-resizable-panels@^3, @syncrobotic/cn

Overview

A layout of panels whose sizes the user changes by dragging or with the keyboard.

When to use

  • A map beside a robot list.
  • A camera above an event log.
  • An editor beside its preview.

Use something else

  • A panel that slides in over content: Sheet.
  • Fixed app chrome: the app-shell block.

More examples

States and real uses. Each example is also a Storybook story and a visual regression test.

Cameralive
Event log

Resizable vertical

Route editor
Preview

Resizable with grip

Sites
Map
Details

Resizable three panels

Robots
Camera
Telemetry

Resizable nested

Filtersdrag to the edge to hide
Results

Resizable collapsible

Usage rules

  • Set minSize so a panel never collapses into nothing by accident.
  • withHandle on touch screens, where a thin line is hard to find.

Changelog

  • 0.17.32026-11-19The grip is visible: --input with a card ring, and it no longer collapses to 1 px.
  • 0.17.22026-11-19On a touch screen the handle's hit area is 44 px wide (48 in gloves).
  • 0.9.02026-11-17New.

How to upgrade