{"id":15690114,"url":"https://github.com/orjdev/solid-dropzone","last_synced_at":"2025-09-14T22:22:12.410Z","repository":{"id":162645735,"uuid":"637149730","full_name":"OrJDev/solid-dropzone","owner":"OrJDev","description":"React Dropzone Adapter For SolidJS","archived":false,"fork":false,"pushed_at":"2023-12-17T17:35:43.000Z","size":35,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-27T02:40:54.061Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OrJDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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":"2023-05-06T16:56:35.000Z","updated_at":"2023-12-20T13:46:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"c3ad0105-5158-424f-854e-7a62b198d65c","html_url":"https://github.com/OrJDev/solid-dropzone","commit_stats":{"total_commits":4,"total_committers":2,"mean_commits":2.0,"dds":0.25,"last_synced_commit":"5cb427770f2e5f6bb60e98502e3c1dc3183081e7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OrJDev/solid-dropzone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrJDev%2Fsolid-dropzone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrJDev%2Fsolid-dropzone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrJDev%2Fsolid-dropzone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrJDev%2Fsolid-dropzone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OrJDev","download_url":"https://codeload.github.com/OrJDev/solid-dropzone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OrJDev%2Fsolid-dropzone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275177852,"owners_count":25418718,"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-14T02:00:10.474Z","response_time":75,"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":[],"created_at":"2024-10-03T18:07:34.199Z","updated_at":"2025-09-14T22:22:12.375Z","avatar_url":"https://github.com/OrJDev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solid DropZone\n\nSolidJS Adapter For React DropZone\n\n### Info\n\nI was working on a SolidJS adapter for UploadThing, noticed it was using React DropZone so I was looking for a SolidJS DropZone adapter and faced an issue with the existing one where it was not working and threw an error (attr-etc is not installed), so i copied the code of it and made a few changes to make it work + used my own build config. The repo [is here](https://github.com/soorria/solid-dropzone) so thanks to the original author.\n\n## Install\n\n```sh\npnpm install solidjs-dropzone\n```\n\n## Usage\n\n```tsx\nimport { createDropzone } from \"solidjs-dropzone\";\n\nfunction MyDropzone() {\n  const onDrop = (acceptedFiles: File[]) =\u003e {\n    // Do something with the files\n  };\n  const { getInputProps, getRootProps, isDragActive } = createDropzone({\n    onDrop,\n  });\n  return (\n    \u003cdiv {...getRootProps()}\u003e\n      \u003cinput {...getInputProps()} /\u003e\n      {isDragActive ? (\n        \u003cp\u003eDrop the files here ...\u003c/p\u003e\n      ) : (\n        \u003cp\u003eDrag 'n' drop some files here, or click to select files\u003c/p\u003e\n      )}\n    \u003c/div\u003e\n  );\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forjdev%2Fsolid-dropzone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forjdev%2Fsolid-dropzone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forjdev%2Fsolid-dropzone/lists"}