BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/retab-ui/dropzone-native-button-queue

Native Button Queue

retab-ui/dropzone-native-button-queue
FreeBlock

A real button trigger with browser button semantics and a small selected-file queue.

Install it

npx shadcn@latest add https://ui.retab.com/r/dropzone-native-button-queue.json

Source

registry/new-york-v4/blocks/dropzone-native-button-queue.tsxui.retab.com/r/dropzone-native-button-queue.json
1"use client";
2
3import { Paperclip } from "lucide-react";
4
5import { cn } from "@/lib/utils";
6import { useDropzone } from "@/components/ui/dropzone";
7
8import {
9 InlineFileRows,
10 RejectionRows,
11 type DropzoneExampleProps,
12} from "./dropzone-example-shared";
13
14export function NativeButtonQueue({ className }: DropzoneExampleProps) {
15 const dropzone = useDropzone({
16 accept: "image/*,.pdf",
17 maxFiles: 2,
18 multiple: true,
19 });
20
21 return (
22 <section
23 {...dropzone.getRootProps({
24 className: cn(
25 "rounded-lg border bg-background p-4 transition-colors",
26 dropzone.isDragging && "border-foreground/40 bg-accent/35",
27 className,
28 ),
29 })}
30 >
31 <input {...dropzone.getInputProps({ className: "hidden" })} />
32 <div className="flex items-center justify-between gap-3">
33 <div>
34 <div className="text-sm font-medium">Native button trigger</div>
35 <div className="text-muted-foreground text-xs">
36 A real button uses browser button semantics.
37 </div>
38 </div>
39 <button
40 {...dropzone.getTriggerProps({
41 native: true,
42 className:
43 "inline-flex h-8 cursor-pointer items-center gap-2 rounded-md border bg-background px-3 text-xs font-medium outline-none hover:bg-muted focus-visible:ring-[3px] focus-visible:ring-ring/24",
44 })}
45 >
46 <Paperclip className="size-3.5" aria-hidden />
47 Add
48 </button>
49 </div>
50 <InlineFileRows files={dropzone.files} onRemove={dropzone.removeFile} />
51 <RejectionRows rejections={dropzone.lastIntake.fileRejections} />
52 </section>
53 );
54}

What it pulls in

npm packages

  • lucide-react

Other registry items

  • @retab/dropzone
  • @retab/file-size-format
  • @retab/utils

Files it writes

  • registry/new-york-v4/blocks/dropzone-native-button-queue.tsx
  • registry/new-york-v4/blocks/dropzone-example-shared.tsx

Facts

Registry
retab-ui
Type
registry:block
Access
Free
Files written
2
Licence
NOASSERTION
First indexed
2026-08-03
Last confirmed
yesterday

Go to the source

ui.retab.com retab-dev/retab-ui on GitHub Raw registry item This item as JSON

More from retab-ui

All 130 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Classify Consensusclassify-consensus-viewer-blockretab-uiBlocksFree1 dep · 4 files
CSV Sourcescsv-sources-blockretab-uiBlocksFreeno deps · 2 files
DOCX Sourcesdocx-sources-blockretab-uiBlocksFreeno deps · 2 files
Avatar Image Slotdropzone-avatar-image-slotretab-uiBlocksFree1 dep · 2 files
Dropzonedropzone-blockretab-uiBlocksFree1 dep · 26 files
Comparison Pairdropzone-comparison-pair-uploadretab-uiBlocksFree1 dep · 2 files
Controlled Queuedropzone-controlled-queueretab-uiBlocksFree1 dep · 2 files
Custom Thumbnail Griddropzone-custom-thumbnail-gridretab-uiBlocksFree1 dep · 2 files
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex