HomeBookmarks
uploadcnuploadcn
uploadcn

uploadcn

UPby uploadcn
10components7.7Kviews16bookmarks

Installs all 61 components. Without our CLI, run instead.

Auto-indexed

uploadcn contents

  • Cloud DropzoneCloud Dropzone

    Cloud Dropzone

  • Global Upload ProviderGlobal Upload Provider

    Global Upload Provider

  • Chat Attachments

    Chat Attachments

  • Image CropperImage Cropper

    Image Cropper

  • Identity Verification

    Identity Verification

  • Avatar Upload

    Avatar Upload

  • Liquid Dropzone

    Liquid Dropzone

  • Morphing Upload ButtonMorphing Upload Button

    Morphing Upload Button

  • Progress Ring Upload

    Progress Ring Upload

  • Ripple DropzoneRipple Dropzone

    Ripple Dropzone

  • That's all 10 components

    About uploadcn

    uploadcn publishes a shadcn registry at uploadcn.dev, with 61 components installable through the shadcn CLI.

    Components
    61
    GitHub stars
    78
    Last commit
    Oct 14, 2026
    Repository
    uploadcn/uploadcn

    Also in the uploadcn registry

    Copy a prompt for your agent, copy the install command, or open the docs that ship it.

    • animated-upload-queue

    • assignment-submission

      badge
    • audio-upload

    • battery-upload

    • blueprint-upload

    • camera-upload

    • csv-import

      badge
    • delivery-upload

    • document-checklist

      badge
    • document-ingest

    • document-upload

      badge
    • envelope-upload

    • file-upload

    • flip-card-upload

    • folder-upload

    • gallery-upload

    • hourglass-upload

    • image-metadata

      badge, input, textarea
    • image-reveal-upload

    • image-upload

    • job-application-upload

      input
    • logo-upload

      card
    • magnetic-dropzone

    • ocr-upload

    • orbit-upload

    • paper-plane-button

    • polaroid-upload

    • product-media-upload

    • property-photos

    • receipt-upload

      input
    • rocket-upload

    • scanner-upload

    • shopping-bag-upload

    • stamp-upload

    • typewriter-upload

    • upload-confetti

    • upload-dialog

    • upload-dock

    • upload-field

      field
    • upload-island

    • upload-odometer

    • upload-paste

    • upload-popover

    • upload-stack

    • upload-table

    • upload-tabs

      input
    • upload-terminal

    • video-upload

    • vinyl-upload

    From the uploadcn readme

    UploadCN

    Production-ready file uploads, built for shadcn.

    Docs · Examples · Installation · Contributing

    If UploadCN saves you time, give it a ⭐ on GitHub. It helps other developers find it.


    Composable upload primitives, hooks and complete upload experiences for shadcn/ui: queues, concurrency, retries, chunked and resumable uploads, presigned S3 and R2, validation, image cropping and compression, virus scanning, OCR, offline recovery and accessible UI. You own the component source; the hard parts are small, tested npm packages.

    Quick start

    In a project set up with the shadcn CLI:

    npx shadcn@latest add @uploadcn/file-upload @uploadcn/upload-config
    

    No setup step: UploadCN is listed in the official shadcn registry directory, so the CLI knows the @uploadcn namespace and installs every component in your project's style.

    import { FileUpload } from "@/components/file-upload"
    
    export default function Page() {
      return 
    }
    

    Then choose where files go (S3, R2, Tigris, Cloudinary, local disk, your own API, or browser only). See the installation guide, or get the .env, CORS rules and permissions for your bucket from the config generator.

    Paste to upload

    Add paste and an upload component takes pasted files: click it (or hover over it) and press Ctrl+V or ⌘+V to upload a screenshot, a copied image or files copied from your file manager. Pasted files are validated like dropped ones, and pastes into text fields are never intercepted.

    It is opt-in, and you choose how far it reaches:

                           {/* one component */}
    
                                  {/* any block, animated ones too */}
      
    
       {/* the whole app */}
      {children}
    
    

    Provider config generator

    Pick Amazon S3, Cloudflare R2, Tigris or Cloudinary, type your bucket and your site's origins, and copy the .env template, the CORS rules in that provider's own format and the smallest IAM policy. Try it at uploadcn.dev/docs/storage/config-generator.

    What you get

    • 59 blocks, 30 of them animated. Dropzones, avatar and gallery uploads, document checklists, identity verification, chat attachments, CSV import, a camera capture, and playful animated uploads. Browse them on the examples page.
    • Your design system. Every item compiles for all 8 shadcn styles (Vega, Nova, Maia, Lyra, Mira, Luma, Sera, Rhea), works on Radix, Base UI and React Aria, and converts its icons to your icon library (Lucide, Tabler, Hugeicons, Phosphor, Remix Icon) on install.
    • Any storage. Direct-to-bucket uploads to S3, R2 and Tigris with a small signing route, Cloudinary, local disk, any custom upload function, or browser-only for forms. The config generator writes the .env, CORS and IAM setup for your bucket.
    • Every way to add a file. Drop files or whole folders, browse, capture from the camera, or paste a screenshot with Ctrl+V or ⌘V: one prop, or one wrapper around any block.
    • Built for real traffic. Concurrency limits, retries with backoff, multipart and resumable uploads, pause and resume, offline recovery, server-side scan and processing states.
    • Accessible and typed. Keyboard and screen reader support, automated axe checks, and TypeScript from the engine to the route.
    • Works with AI tools. Standard shadcn registry, so the shadcn MCP server, llms.txt and every coding agent can find and install components.

    Packages

    LayerPackageDelivery
    Styled components & blocksapps/docs/registryshadcn registry, copied into your project
    Hooks & headless primitives@uploadcn/reactnpm
    Upload engine & adapters@uploadcn/corenpm
    Upload route, scan, OCR@uploadcn/servernpm

    The registry components install the npm packages they need, so most projects never install them by hand.

    Repository

    apps/
      docs/                    Next.js + Fumadocs: docs, live examples, the registry
        registry/default/      registry source (ui, blocks, hooks, route and config files)
        registry/styles/       per-style `cn-upload-*` classes (generated from shadcn's styles)
        registry.json          registry definition, built to public/r for every style
        examples/              live examples rendered in the docs
        content/docs/          documentation (MDX)
        scripts/               style, icon and registry builds, install tests
        test/                  registry standards, security and block behavior suites
        e2e/                   Playwright tests against the built docs
    packages/
      core/                    @uploadcn/core
      react/                   @uploadcn/react
      server/                  @uploadcn/server
      eslint-config/           shared ESLint config
      typescript-config/       shared tsconfig
    

    Development

    Requires Node.js 20.9 or later and pnpm 10.

    pnpm install
    pnpm registry:build   # compile the registry once
    pnpm dev              # packages in watch mode + docs at http://localhost:3000
    pnpm check            # lint, typecheck, test and build everything
    
    Script
    pnpm buildBuild the packages, the registry and the docs
    pnpm testUnit, integration and registry suites (Vitest)
    pnpm lint / pnpm typecheckAcross all workspaces
    pnpm format / pnpm format:checkPrettier
    pnpm registry:buildRegenerate styles and icons, rebuild apps/docs/public/r for all 8 styles
    pnpm --filter docs registry:validateValidate registry.json
    pnpm --filter docs test:installInstall every item into fresh Radix, Base UI and React Aria apps (docs running)
    pnpm --filter docs test:e2ePlaywright end-to-end tests against the built docs (run pnpm build first)

    The docs include a real upload route (apps/docs/app/api/upload). Without credentials it uses in-memory development storage. To upload to a real bucket, copy apps/docs/.env.example to apps/docs/.env.local and fill in the S3 or R2 variables.

    Sponsors

    UploadCN is free and open source. Sponsors keep it moving and get their logo in front of developers choosing how their app uploads files. See the tiers on uploadcn.dev/sponsors.

    <!-- sponsors:start --> <!-- sponsors:end -->

    Star history

    Contributing

    Issues and pull requests are welcome. Read the contributing guide first; for security issues, see SECURITY.md.

    Releases are automated: pull requests that change a package include a changeset, a "Release packages" PR collects them, and merging it publishes to npm from GitHub Actions with provenance. The docs and registry deploy to uploadcn.dev on every merge to main.

    Acknowledgements

    Built on shadcn/ui. The per-style classes are derived from shadcn's style files (MIT), vendored in apps/docs/styles/shadcn.

    License

    MIT

    Read the rest on GitHub →

    What uploadcn builds on

    The packages and primitives its components pull in, counted across the registry.

    badge5input4button2card1field1textarea1

    Hooks and utilities

    • use-camera
    • use-crop-queue

    What uploadcn shipped recently

    Every appearance and removal our crawl has seen in the registry index.

    • animated-upload-queueaddedOct 12, 2026
    • assignment-submissionaddedOct 12, 2026
    • audio-uploadaddedOct 12, 2026
    • avatar-uploadaddedOct 12, 2026
    • battery-uploadaddedOct 12, 2026
    • blueprint-uploadaddedOct 12, 2026
    • camera-uploadaddedOct 12, 2026
    • chat-attachmentsaddedOct 12, 2026
    • cloud-dropzoneaddedOct 12, 2026
    • csv-importaddedOct 12, 2026
    • delivery-uploadaddedOct 12, 2026

    Registries like uploadcn

    Astryx

    Astryx

    by Meta

    10

    components

    Magic UI

    Magic UI

    by Dillion Verma

    64

    components

    coss

    coss

    by coss

    74

    components

    cult ui

    cult ui

    by cult/ui

    50

    components

    Motion Primitives

    Motion Primitives

    by Julien Thibeaut

    39

    components

    Browse every shadcn registry we track →

    document-checklist
    added
    Oct 12, 2026
  • document-ingestaddedOct 12, 2026
  • document-uploadaddedOct 12, 2026
  • envelope-uploadaddedOct 12, 2026
  • file-uploadaddedOct 12, 2026
  • flip-card-uploadaddedOct 12, 2026
  • folder-uploadaddedOct 12, 2026
  • gallery-uploadaddedOct 12, 2026
  • global-uploadaddedOct 12, 2026
  • ReUI

    ReUI

    by Sean Hello

    264

    components

    1. Components
    2. /
    3. uploadcn
    4. /
    5. uploadcn

    Related libraries

    AnimateIcons / Lucide

    AnimateIcons / Lucide

    by Avijit Dey

    434

    components

    ReUI

    ReUI

    by Sean Hello

    264

    components

    uiable

    uiable

    by uiable

    168

    components

    Bundui

    Bundui

    by Shadcn UI Kit

    59

    components

    UI Layouts

    UI Layouts

    by UI Layouts

    127

    components

    Kokonut UI

    Kokonut UI

    by Kokonut UI

    61

    components

    About uploadcn

    uploadcn is a component library on 21st.dev by uploadcn with 10 public React components. Every component ships with a live interactive preview and full TSX source — copy the code, install it through the shadcn CLI, or pull it into Cursor or Claude Code over MCP.

    All 10 uploadcn components

    • Avatar Upload
    • Chat Attachments
    • Cloud Dropzone
    • Global Upload Provider
    • Identity Verification
    • Image Cropper
    • Liquid Dropzone
    • Morphing Upload Button
    • Progress Ring Upload
    • Ripple Dropzone

    Browse all component libraries →