---
site: ui.zyx.tw
url: https://ui.zyx.tw/resizable
title: Resizable
description: "Panels split by a hairline handle you can drag."
---

# Resizable

Panels split by a hairline handle you can drag.

Group: Content.

## Install

```bash
bunx shadcn@latest init https://ui.zyx.tw/r/base.json
bunx shadcn@latest add @zyx1121/resizable
```

The first line sets a project up on the base; skip it if the project already has it.

## Item

### Resizable (`resizable`)

Panels split by a hairline handle you can drag.

- Install: `bunx shadcn@latest add https://ui.zyx.tw/r/resizable.json`
- JSON: [resizable.json](https://ui.zyx.tw/r/resizable.json)
- Page: [https://ui.zyx.tw/resizable](https://ui.zyx.tw/resizable) ([Markdown](https://ui.zyx.tw/resizable.md))
- npm dependencies: `cn`, `react-resizable-panels`
- Registry dependencies: `https://ui.zyx.tw/r/utils.json`

## More

- [Index](https://ui.zyx.tw/index.md): every item
- [Agent instructions](https://ui.zyx.tw/agent-instructions.md): the call order and the rules
- [DESIGN.md](https://github.com/zyx1121/www.zyx.tw/blob/main/apps/ui/DESIGN.md): the design contract
