{"id":31084941,"url":"https://github.com/dropzone-ui/dropzone-ui-react","last_synced_at":"2025-09-16T13:26:36.340Z","repository":{"id":37442902,"uuid":"402281693","full_name":"dropzone-ui/dropzone-ui-react","owner":"dropzone-ui","description":"The most complete React Library Component for drag’n’drop files. Image and video previews. File validation. Multilanguage. Server side support.","archived":false,"fork":false,"pushed_at":"2023-04-23T22:48:48.000Z","size":6637,"stargazers_count":216,"open_issues_count":12,"forks_count":24,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-08T16:12:15.193Z","etag":null,"topics":["axios","dropzone-ui","file-upload","form","form-data","form-validation","french-translation","hacktoberfest","javascript","localization","material-design","portuguese-translation","react","react-dropzone","reactjs","spanish-translation","typescript"],"latest_commit_sha":null,"homepage":"https://www.files-ui.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dropzone-ui.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-02T03:50:37.000Z","updated_at":"2025-05-17T18:19:19.000Z","dependencies_parsed_at":"2024-06-18T14:08:02.952Z","dependency_job_id":"0b164e47-174f-4217-b21a-cc0c0d7832b9","html_url":"https://github.com/dropzone-ui/dropzone-ui-react","commit_stats":{"total_commits":256,"total_committers":8,"mean_commits":32.0,"dds":0.25,"last_synced_commit":"29228e83b03556774ae98140da461dde9b060f39"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/dropzone-ui/dropzone-ui-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dropzone-ui%2Fdropzone-ui-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dropzone-ui%2Fdropzone-ui-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dropzone-ui%2Fdropzone-ui-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dropzone-ui%2Fdropzone-ui-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dropzone-ui","download_url":"https://codeload.github.com/dropzone-ui/dropzone-ui-react/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dropzone-ui%2Fdropzone-ui-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275424695,"owners_count":25462331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-16T02:00:10.229Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["axios","dropzone-ui","file-upload","form","form-data","form-validation","french-translation","hacktoberfest","javascript","localization","material-design","portuguese-translation","react","react-dropzone","reactjs","spanish-translation","typescript"],"created_at":"2025-09-16T13:26:32.689Z","updated_at":"2025-09-16T13:26:36.333Z","avatar_url":"https://github.com/dropzone-ui.png","language":"TypeScript","readme":":rocket: [Spanish README](./README_ES.md)\n\n# Dropzone UI\n\n[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/dropzone-ui/react/blob/HEAD/LICENSE)\n[![npm latest package](https://img.shields.io/npm/v/@dropzone-ui/react.svg?logo=npm\u0026logoColor=fff\u0026label=NPM+package\u0026color=limegreen)](https://www.npmjs.com/package/@dropzone-ui/react)\n[![Rate on Openbase](https://badges.openbase.com/js/rating/@dropzone-ui/react.svg)](https://openbase.com/js/@dropzone-ui/react?utm_source=embedded\u0026utm_medium=badge\u0026utm_campaign=rate-badge)\n[![kandi X-Ray](https://kandi.openweaver.com/badges/xray.svg)](https://kandi.openweaver.com/typescript/dropzone-ui/dropzone-ui-react)\n[![Node.js CI](https://github.com/dropzone-ui/react-dropzone/actions/workflows/node.js.yml/badge.svg)](https://github.com/dropzone-ui/dropzone-ui-react)\n[![Build Status](https://app.travis-ci.com/dropzone-ui/dropzone-ui-react.svg?branch=master)](https://app.travis-ci.com/dropzone-ui/dropzone-ui-react)\n[![Known Vulnerabilities](https://snyk.io/test/github/dropzone-ui/react/badge.svg)](https://snyk.io/test/github/dropzone-ui/react)\n[![Package Quality](https://packagequality.com/shield/dropzone-ui.svg)](https://packagequality.com/#?package=dropzone-ui)\n[![install size](https://packagephobia.com/badge?p=@dropzone-ui/react)](https://packagephobia.com/result?p=@dropzone-ui/react)\n[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/dropzone-ui/react.svg)](http://isitmaintained.com/project/dropzone-ui/react)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![GitHub Repo stars](https://img.shields.io/github/stars/dropzone-ui/react?label=Star%20me%20please%20:D\u0026style=social)](https://github.com/dropzone-ui/react)\n\nThank you so much for using dropzone-ui/react ❤️ !\n\nDropzone UI has grown very fast and has exceeded its original scope. That's why we find reasonable to rebrand it and create a new package taking the best of this one and adding more features and new components. This new package is here and its name is Files UI ⚡.\nIn an very near future we'll stop giving support to dropzone-ui, so we enforce you to upgrade to this new package. In the meanwhile this package will become a wrapper for files-ui.\n\n:zap: Live demos and full documentation : [files-ui.com](https://files-ui.vercel.app)\n\n:heart: it ?, support us by giving a :star: on :octocat: [Github](https://github.com/files-ui/files-ui-react) :D\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.files-ui.com\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/43678736/225168231-35d7dc8d-f89e-43a1-8ce9-441bd59a74df.png\"  align=\"center\"\u003e   \n\u003c/a\u003e\n\u003c/p\u003e\n\n## Important\n\nFrom now on [@files-ui/react](https://www.npmjs.com/package/@files-ui/react) is the only dependency. Check out the changelog file to know what's new.\n\n## Sample result:\n\nThis is a small part of what you can find on files-ui :eyes:\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.files-ui.com\"\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/43678736/228052494-99d970c0-1eb7-42c6-b22c-8c2295b8dc4a.gif\"  width=\"80%\" alt=\"fui-logo\"/\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n- More previews [here](#more-previews).\n\n## Requirement\n\n`@dropzone-ui/react` is based on [React Hooks](https://reactjs.org/docs/hooks-intro.html). It requires `react v16.8+`.\n\n## Installation\n\n@dropzone-ui/react is available as an [npm package](https://www.npmjs.com/package/@dropzone-ui/react).\n\n```sh\n// with npm\nnpm i @dropzone-ui/react\n```\n\n```sh\n// with yarn\nyarn add @dropzone-ui/react\n```\n\n## Usage and examples\n\nHere is a quick example to get you started, **it's all you need**:\n\n```jsx\nimport * as React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { Dropzone, FileMosaic } from \"@dropzone-ui/react\";\n\nfunction App() {\n  const [files, setFiles] = React.useState([]);\n  const updateFiles = (incommingFiles) =\u003e {\n    setFiles(incommingFiles);\n  };\n  return (\n    \u003cDropzone onChange={updateFiles} value={files}\u003e\n      {files.map((file) =\u003e (\n        \u003cFileMosaic {...file} preview /\u003e\n      ))}\n    \u003c/Dropzone\u003e\n  );\n}\n\nReactDOM.render(\u003cApp /\u003e, document.querySelector(\"#app\"));\n```\n\nYes, it's really all you need to get started as you can see in these live and interactive demos:\n\n| Basic Sample :cake:                                                                                                                      | Advanced Sample :hammer:                                                                                                                    |\n| ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |\n| [![Edit Button](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/basic-demo-js-blssi1?file=/src/App.js) | [![Edit Button](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/advanced-demo-js-6euo8j?file=/src/App.js) |\n\n## API documentation\n\nThe complete documentation of every component has been moved to files-ui.com [API page](https://www.files-ui.com/api/dropzone).\n\nHowever if you are still using dropzone-ui version 6.7.0 or lower, you can find the documentation and demos here:\n\n- ⚡ [Samples](https://www.npmjs.com/package/@dropzone-ui/react/v/6.7.20?activeTab=readme#Usage-and-examples)\n- 📚 [Docs](https://www.npmjs.com/package/@dropzone-ui/react/v/6.7.20#dropzone-ui-react-components-api).\n\n## Supporters\n\nSpecial thanks to these amazing people :star: :\n\n### :clap: Stargazers\n\n[![Stargazers repo roster for @dropzone-ui/dropzone-ui-react](https://reporoster.com/stars/dropzone-ui/dropzone-ui-react)](https://github.com/dropzone-ui/dropzone-ui-react/stargazers)\n\n### :clap: Forkers\n\n[![Forkers repo roster for @dropzone-ui/dropzone-ui-react](https://reporoster.com/forks/dropzone-ui/dropzone-ui-react)](https://github.com/dropzone-ui/dropzone-ui-react/network/members)\n\n## More Previews\n\n\u003cdetails\u003e\n  \u003csummary\u003eImage full screen preview 🖼️ \u003c/summary\u003e\n  \u003cp align=\"center\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/43678736/228066199-fb7a5bd3-9c7e-4f72-b0ef-7f11d236d38e.png\" alt=\"Image full screen preview\" width=\"100%\"/\u003e\u003c/p\u003e\n\n\u003c/details\u003e\n\u003cdetails\u003e\n \u003csummary\u003eVideo full screen preview 🎞️ \u003c/summary\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/43678736/228066195-62063300-21e0-48fd-80d8-31b566562fde.png\" alt=\"Video full screen preview\" width=\"100%\"/\u003e\u003c/p\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \u003csummary\u003eFileCard, FileInputButton and Avatar preview 🎴 \u003c/summary\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/43678736/228063876-5b6d00fe-f0ba-453f-a7ce-c44ba7444417.png\" alt=\"Video full screen preview\" width=\"100%\"/\u003e\u003c/p\u003e\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n \u003csummary\u003eDarkMode 🌙 🌞 \u003c/summary\u003e \n\u003cp align=\"center\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/43678736/228063883-569ca6f1-6959-45bc-9882-2c447162a00f.png\" alt=\"darkmode 1 preview\" width=\"100%\"/\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/43678736/228066720-e0bb96ac-3c00-4aa6-80b9-e0b4d0c5f947.png\" alt=\"darkmode 2 preview\" width=\"100%\"/\u003e\u003c/p\u003e\n\u003c/details\u003e\n\n## License\n\nThis project is licensed under the terms of the\n[MIT license](/LICENSE).\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://github.com/dropzone-ui/react-dropzone#\"\u003e\u003cimg src=\"http://randojs.com/images/barsSmallTransparentBackground.gif\" alt=\"Animated footer bars\" width=\"100%\"/\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\u003ca href=\"https://github.com/dropzone-ui/react-dropzone#readme\"\u003e\u003cimg src=\"http://randojs.com/images/backToTopButtonTransparentBackground.png\" alt=\"Back to top\" height=\"28\"/\u003e\u003c/a\u003e\u003c/p\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdropzone-ui%2Fdropzone-ui-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdropzone-ui%2Fdropzone-ui-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdropzone-ui%2Fdropzone-ui-react/lists"}