Drop it in
Choose a file with the picker or drag it into the upload court.
Component 023Uploads
A playful file upload turns a dropped document into a basketball shot, with animated progress and a clear success state.
Quick start
Save basketball-upload.tsx in your components folder, then import it below. Use it in a Next.js project with Tailwind CSS.
import BasketballUpload from "@/components/ui/basketball-upload";
export default function UploadPage() {
return <BasketballUpload />;
}Behind the interaction
Choose a file with the picker or drag it into the upload court.
A document flies toward the hoop before its progress and success states appear.
The included upload interaction is a local demo; connect the file callback to your storage service.
Keep exploring
Ten glowing isometric city scenes drawn in SVG, from an office tower and a harbour crane to an airport, a power grid and a night diner. Every figure has its own controls, live status line, and six glow colours in dark or light.
A frosted-glass sign-in and sign-up card with chamfered corners. Switching forms melts the content away, slides the two corner tabs together, sends out a ripple, and reveals the new form.
Drag and drop, or take the shot.
Aim the file & release to shoot into the basket