Skip to content
Pebble Pro is here at $49 one timeSee what’s included ↗
Pebble
ComponentsDocsMCPPricing
⌕ Find a component↗Log in
All components 673

Categories

Core inputs & forms46Buttons & actions33Navigation36Overlays & feedback49Data display33Charts & data viz40Cards & layout43Marketing blocks38App shells & pages37AI interfaces40Text & typography effects33Backgrounds & visual effects38Motion & transitions32Numbers & counters32Media34E-commerce333D & interactive36Themed sets40
Start with the essentials.Installation guide ↗Connect your agent ↗
← All componentsCore inputs & forms

Magnetic Dropzone

A dotted-grid file drop zone that leans toward a nearby dragged file and swells its dots under the pointer, with click-to-browse, keyboard picking and removable file tiles.

Preview

Harbor Street handover

Shared with Ines and Malik

3 files · 3.6 MB

  • Q3-field-report.pdfPDF · 2.4 MB
  • site-plan-v4.pngPNG · 1.1 MB
  • fit-out-budget.xlsxXLSX · 86 KB

floor-plan.pdf
File within reach: the zone leans toward it

floor-plan.pdf
Over the zone: release to add

Install

Pro source requires Pebble Pro. Try the full preview above.

Props

PropTypeDefaultDescription
filesMagneticDropzoneFile[]—Controlled list of files ({ id, name, size, type?, file? }); pair with onFilesChange.
defaultFilesMagneticDropzoneFile[][]Initial files when uncontrolled.
onFilesChange(files: MagneticDropzoneFile[]) => void—Called with the whole new list after files are added or removed.
acceptstring—Input accept syntax (.pdf,image/*); dropped files are checked too.
maxSizenumber—Largest accepted file in bytes.
multiplebooleantrueAllow more than one file per pick or drop.
disabledbooleanfalseDisable picking and dropping; tiles stay visible.
namestring—Name of the hidden file input, for native form posts.
labelstring"Drop files here"Main line inside the zone (followed by "or browse").
hintstring—Second line inside the zone; also the input's description.
listLabelstring"Attached files"Accessible name of the file list.
reachnumber140Distance in px from the zone edge at which a dragged file starts to pull it.
defaultPhase"idle" | "near" | "over""idle"Start in a drag phase for previews; a real drag takes over.

Pro component

Try the full preview above. Editable source and build guides require Pebble Pro.

Buy Pebble Pro — $49How source access works ↗
Pebble

Small details.
Better interfaces.

React components to explore, make your own, and build on.

Library

  • Components
  • Installation
  • Pricing

Resources

  • For agents
  • About
  • Support

Legal

  • License
  • Terms
  • Privacy
  • Final sale

Built by Pebble

A product of Praxys Solutions LLC ↗

Pebble Pro is live

$49 one time, lifetime updates ↗