KodeKarsa UI

Layout

Resizable

Panels sharing space, resized by dragging or with arrows.

src/components/ui/resizable.tsxBehavior from @ui-sdk/react/resizable

Files and editor

Berkas

  • app.tsx
  • routes.ts
  • styles.css

routes.ts

export const routes = [
  "/", "/app", "/docs",
];

Import

tsx
import { Resizable, ResizableHandle, ResizablePanel } from "@/components/ui/resizable";

Guidelines

  • Give every handle an aria-label.