# Orbit drop zone

https://fieldbook.lizardi.mx/components/orbit-drop-zone

Category: Inputs
![Still of the Orbit drop zone component, a Fieldbook UI component in Inputs.](https://fieldbook.lizardi.mx/thumbs/orbit-drop-zone.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/orbit-drop-zone-60c64d1878.mp4 (5 s, silent)

Orbit drop zone: Validate a selected file, simulate upload progress, and retain a removable attachment result.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| accent | color | #38BDF8 | No additional limit in the metadata. |
| maxSizeMb | number | 5 | From 1 to 50; step 1 |
| uploadSeconds | number | 2 | From 1 to 6; step 0.5 |
| acceptHint | select | Images | Options: Images, Documents, Any file |

## Usage notes

Validate a selected file, simulate upload progress, and retain a removable attachment result. Use onFileSelected, onUploadComplete, onUploadCancel, onUploadError, and onAttachmentRemove to observe the React lifecycle.

Orbit drop zone uses the card preview frame with a light/dark theme setting.

Choose a supported file within the size limit, wait for completion, then remove the attachment.

Progress is simulated and no file bytes leave the browser. Connect the descriptor callbacks to a real upload service in the host.

### How does the application receive changes?

Use onFileSelected, onUploadComplete, onUploadCancel, onUploadError, and onAttachmentRemove to observe the React lifecycle.

### Which frameworks are available for Orbit drop zone?

Orbit drop zone is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

### What does Orbit drop zone depend on?

The React metadata lists these npm dependencies beyond React: motion.

### What accessibility details are visible in Orbit drop zone?

The React source for Orbit drop zone includes: native elements (button, input); attributes and handlers (aria-hidden, aria-label, onKeyDown, tabIndex); explicit roles (status); key comparisons (Escape). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Orbit drop zone handle reduced motion?

Orbit drop zone reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduce ? undefined : \{ rotate: 360 \}; reduce ? undefined : \{ rotate: arc.reverse ? -360 : 360 \}; reduce ? undefined : \{ scale: \[1, 1.05, 1\] \}. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "orbit-drop-zone",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Addon Input Group](https://fieldbook.lizardi.mx/components/addon-input-group)
- [Auto Grow Textarea](https://fieldbook.lizardi.mx/components/auto-grow-textarea)
- [Focus ring text input](https://fieldbook.lizardi.mx/components/focus-ring-text-input)
- [Select All Checklist](https://fieldbook.lizardi.mx/components/indeterminate-select-all)
- [Single value slider](https://fieldbook.lizardi.mx/components/single-value-slider)
- [Sliding Thumb Switch](https://fieldbook.lizardi.mx/components/sliding-thumb-switch)
