About
Two numbers set with one drag: a point moved across a field.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds XY Pad to your project and fits it to your theme.
Code
How XY Pad is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
'use client';
import { XYPad } from '@/components/ui/panel-xy-pad';
export default function XYPadOverview() {
return (
<XYPad label="Framing" defaultValue={{ x: 0.32, y: -0.18 }} className="max-w-sm">
<XYPad.Value />
</XYPad>
);
}








