{"id":13580756,"url":"https://github.com/files-ui/files-ui-react","last_synced_at":"2025-04-06T02:32:42.698Z","repository":{"id":148545156,"uuid":"517188332","full_name":"files-ui/files-ui-react","owner":"files-ui","description":"UI components for file uploads with React js. Files UI is a complete library for handling files in the UI. You can validate and upload them. Multilanguage. Server side support.","archived":false,"fork":false,"pushed_at":"2024-10-05T17:49:12.000Z","size":26653,"stargazers_count":55,"open_issues_count":28,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-07T17:18:20.363Z","etag":null,"topics":["drag-and-drop","dropzone","file-upload","form-data","hacktoberfest","hooks","javascript","localization","react","react-dropzone","react-hooks","typescript","xhr"],"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/files-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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-23T23:53:24.000Z","updated_at":"2025-01-15T20:36:27.000Z","dependencies_parsed_at":"2024-06-18T21:23:03.862Z","dependency_job_id":"afdbe4e6-266a-4b4c-965e-e828a680365b","html_url":"https://github.com/files-ui/files-ui-react","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/files-ui%2Ffiles-ui-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/files-ui%2Ffiles-ui-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/files-ui%2Ffiles-ui-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/files-ui%2Ffiles-ui-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/files-ui","download_url":"https://codeload.github.com/files-ui/files-ui-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247426485,"owners_count":20937133,"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","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":["drag-and-drop","dropzone","file-upload","form-data","hacktoberfest","hooks","javascript","localization","react","react-dropzone","react-hooks","typescript","xhr"],"created_at":"2024-08-01T15:01:54.826Z","updated_at":"2025-04-06T02:32:42.313Z","avatar_url":"https://github.com/files-ui.png","language":"TypeScript","readme":"\u003ca href=\"https://www.files-ui.com\"\u003e\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/43678736/226257748-6ba2f8cf-59c5-40d1-a545-a388ddab0f68.png\" width=\"150\" height=\"150\" alt=\"fui-logo\"/\u003e\n\u003c/p\u003e\n\u003c/a\u003e\n\n\u003ch1 align=\"center\"\u003eFiles ui\u003c/h1\u003e\n\nUI components for file uploads with [React js](https://react.dev/).\n\n**Files UI** is a complete library for handling files in the UI. You can validate and upload them.\n\n\u003cdiv align=\"center\"\u003e\n\n[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/files-ui/react/blob/HEAD/LICENSE)\n[![npm latest package](https://img.shields.io/npm/v/@files-ui/react.svg?logo=npm\u0026logoColor=fff\u0026label=NPM+package\u0026color=limegreen)](https://www.npmjs.com/package/@files-ui/react) [![kandi X-Ray](https://kandi.openweaver.com/badges/xray.svg)](https://kandi.openweaver.com/typescript/files-ui/files-ui-react) [![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/files-ui/react?label=Star%20me%20please%20:D\u0026style=social)](https://github.com/files-ui/react)\n[![Node.js CI](https://github.com/files-ui/files-ui-react/actions/workflows/node.js.yml/badge.svg)](https://github.com/files-ui/files-ui-react)\n\n\u003c/div\u003e\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- :heart: it ?, support us by giving a :star: on :octocat: [Github](https://github.com/dropzone-ui/dropzone-ui) :D\n\n- :zap: Enjoying @files-ui/react? [Please leave a short review on Openbase](https://openbase.com/js/@files-ui/react#rate)\n- :eyes: More previews [here](#more-previews).\n\n## Installation\n\n@files-ui/react is available as an [npm package](https://www.npmjs.com/package/@files-ui/react).\n\n```sh\n// with npm\nnpm i @files-ui/react\n```\n\n```sh\n// with yarn\nyarn add @files-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 \"@files-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|                          |                                                                                                                                             |\n| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------- |\n| Basic Sample :cake:      | [![Edit Button](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/basic-demo-js-blssi1?file=/src/App.js)    |\n| Advanced Sample :hammer: | [![Edit Button](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/advanced-demo-js-6euo8j?file=/src/App.js) |\n\n## Main Components 💠\n\n- [\\\u003cDropzone/\\\u003e](https://www.files-ui.com/components/dropzone)\n- [\\\u003cFileMosaic/\\\u003e](https://www.files-ui.com/components/filemosaic)\n- [\\\u003cFileCard/\\\u003e](https://www.files-ui.com/components/filecard)\n- [\\\u003cAvatar/\\\u003e](https://www.files-ui.com/components/avatar)\n- [\\\u003cFIleInputButton/\\\u003e](https://www.files-ui.com/components/fileinputbutton)\n- [\\\u003cFullScreen/\\\u003e](https://www.files-ui.com/components/fullscreen) Image and video\n\n## Full Documentation 📚\n\nYou can find the complete documentation and demos for every component on [files-ui.com](https://www.files-ui.com)\n\n## More Previews :eyes:\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## Supporters\n\nSpecial thanks to these amazing people :star: :\n\n### :clap: Stargazers\n\n[![Stargazers repo roster for @files-ui/files-ui-react](https://bytecrank.com/nastyox/reporoster/php/stargazersSVG.php?user=files-ui\u0026repo=files-ui-react)](https://github.com/files-ui/files-ui-react/stargazers)\n\n### :clap: Forkers\n\n[![Forkers repo roster for @dropzone-ui/dropzone-ui-react](https://bytecrank.com/nastyox/reporoster/php/forkersSVG.php?user=files-ui\u0026repo=files-ui-react)](https://github.com/files-ui/files-ui-react/network/members)\n\n\n## License\n\nThis project is licensed under the terms of the\n[MIT license](/LICENSE).\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"#\"\u003e\n\u003cimg src=\"http://randojs.com/images/barsSmallTransparentBackground.gif\" alt=\"Animated footer bars\" width=\"100%\"/\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"#\"\u003e\n\u003cimg src=\"http://randojs.com/images/backToTopButtonTransparentBackground.png\" alt=\"Back to top\" height=\"28px\"/\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiles-ui%2Ffiles-ui-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiles-ui%2Ffiles-ui-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiles-ui%2Ffiles-ui-react/lists"}