# Drag split panels

https://fieldbook.lizardi.mx/components/drag-split-panels

Category: Layout
![Still of the Drag split panels component, a Fieldbook UI component in Layout.](https://fieldbook.lizardi.mx/thumbs/drag-split-panels.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/drag-split-panels-7493ee2435.mp4 (5 s, silent)

Drag split panels: Panels divided by thin draggable handles that resize the adjacent panes in real time, arranged in a row or stacked.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| orientation | select | horizontal | Options: horizontal, vertical |
| showHandleGrip | boolean | true | No additional limit in the metadata. |
| defaultSplit | number | 50 | From 20 to 80; step 5 |
| accentColor | color | #38BDF8 | No additional limit in the metadata. |

## Usage notes

Drag split panels uses the wide preview frame with a light/dark theme setting.

### Which frameworks are available for Drag split panels?

Drag split panels is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

### What does Drag split panels depend on?

The React metadata lists these npm dependencies beyond React: clsx, tailwind-merge.

### What accessibility details are visible in Drag split panels?

The React source for Drag split panels includes: attributes and handlers (aria-hidden, aria-label, aria-orientation, aria-valuemax, aria-valuemin, aria-valuenow, onKeyDown, tabIndex); explicit roles (separator); key comparisons (End, Home). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Drag split panels handle reduced motion?

The source scan found no direct useReducedMotion() or matchMedia preference read in Drag split panels's index.tsx. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "drag-split-panels",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Focus scroll list](https://fieldbook.lizardi.mx/components/focus-scroll-list)
- [Masonry flow](https://fieldbook.lizardi.mx/components/masonry-flow)
- [Settling photo masonry](https://fieldbook.lizardi.mx/components/settling-photo-masonry)
- [Curved Scroll Wall](https://fieldbook.lizardi.mx/components/curved-scroll-wall)
- [HUD viewfinder frame](https://fieldbook.lizardi.mx/components/hud-viewfinder-frame)
- [Masked reveal disclosure](https://fieldbook.lizardi.mx/components/masked-reveal-disclosure)
