🎯 Nexus teaches Next.js from foundations to professional systems⚡ App Router, React 19, and Tailwind v4 in one learning path🧩 Inspect real components, layouts, and reusable patterns🛠️ Build production discipline, not just polished demos📚 Tracks, references, and design studies in one place🎯 Nexus teaches Next.js from foundations to professional systems⚡ App Router, React 19, and Tailwind v4 in one learning path🧩 Inspect real components, layouts, and reusable patterns🛠️ Build production discipline, not just polished demos📚 Tracks, references, and design studies in one place🎯 Nexus teaches Next.js from foundations to professional systems⚡ App Router, React 19, and Tailwind v4 in one learning path🧩 Inspect real components, layouts, and reusable patterns🛠️ Build production discipline, not just polished demos📚 Tracks, references, and design studies in one place🎯 Nexus teaches Next.js from foundations to professional systems⚡ App Router, React 19, and Tailwind v4 in one learning path🧩 Inspect real components, layouts, and reusable patterns🛠️ Build production discipline, not just polished demos📚 Tracks, references, and design studies in one place
UI

Resizable

Drag-to-resize split panels using react-resizable-panels with horizontal or vertical layout.

Quick Preview

Panel A

Left panel content.

Panel B

Right panel content.

Installation

npm install react-resizable-panels
// Copy component from
src/components/ui/Resizable.tsx

Usage

import Resizable from '@/components/ui/Resizable'
<Resizable
direction="horizontal"
panels={[
{ defaultSize: 30, minSize: 15, children: <Sidebar /> },
{ defaultSize: 70, minSize: 40, children: <MainContent /> },
]}
/>

Prompt Preview

Copy a prompt that recreates this UI

Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.

Copy-ready AI prompt

Starts from the current visual reference and project constraints.

Tweak only product-specific copy or data after the first generation pass.

Props

PropTypeDefaultDescription
direction'horizontal' | 'vertical''horizontal'Split direction
panels*ResizablePanel[]-Panel configs with defaultSize and children