Resizable panels preview
A controlled two-panel layout with a labelled separator, direction-aware keyboard resizing, native pointer drag and an automatic stacked…
pro · Essentials · composite
When to use
- Use it when a page needs a controlled two-panel layout with a labelled separator, direction-aware keyboard resizing, native pointer drag and an automatic stacked phone layout.
- Choose it when the host application can supply the required state and keep business logic outside the presentation component.
Alternatives
- Choose tidal-button instead when press, loading, success and disabled states is the actual interface need, rather than resizable panels.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/resizable-panelsImport components/ui/tidal.css, components/ui/resizable-panels.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/resizable-panels.css";
import{TidalResizablePanels}from"./components/ui/resizable-panels";
export default()=><div className="tidal-scope"><TidalResizablePanels onValueChange={() => {}} primaryPanel={{content:"value"}} secondaryPanel={{content:"value"}} separatorLabel={"Demo"} value={1}/></div>;API and props
TidalResizablePanels.onValueChange (required)(value: number, event: TidalResizableChangeEvent, source: TidalResizableChangeSource) => voidCallback invoked when the value change interaction is proposed.
TidalResizablePanels.primaryPanel (required)TidalResizablePanelRequired primary panel value accepted by this exported component.
TidalResizablePanels.secondaryPanel (required)TidalResizablePanelRequired secondary panel value accepted by this exported component.
TidalResizablePanels.separatorLabel (required)stringRequired separator label value accepted by this exported component.
TidalResizablePanels.value (required)numberRequired value value accepted by this exported component.
TidalResizablePanels.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalResizablePanels.formatValue((value: number) => string) | undefinedOptional format value value accepted by this exported component.
TidalResizablePanels.maxValuenumber | undefinedOptional max value value accepted by this exported component.
TidalResizablePanels.minValuenumber | undefinedOptional min value value accepted by this exported component.
TidalResizablePanels.separatorPropsOmit<HTMLAttributes<HTMLDivElement>, "tabIndex" | "role" | "aria-controls" | "aria-disabled" | "aria-label" | "aria-orientation" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children"> | undefinedOptional separator props value accepted by this exported component.
TidalResizablePanels.separatorRefRef<HTMLDivElement> | undefinedOptional separator ref value accepted by this exported component.
TidalResizablePanels.stepnumber | undefinedOptional step value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.