About
A clipboard paste zone that accepts pasted images and files, showing upload progress and success states — ideal for quick screenshot uploads.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds UploadThing Paste to your project and fits it to your theme.
Code
How UploadThing Paste is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { UploadThingPaste } from "@/components/ui/uploadthing-paste";
export default function Default() {
return (
<div className="flex min-h-[320px] w-full items-center justify-center bg-background p-8">
<div className="w-full max-w-md">
<UploadThingPaste
accept={["image/*"]}
onPaste={(files) => console.log("Pasted:", files)}
onUpload={async (files) => {
await new Promise((resolve) => setTimeout(resolve, 1500));
console.log("Uploaded:", files);
}}
/>
</div>
</div>
);
}








