{"id":38722248,"url":"https://github.com/junhoyeo/react-mobile-sized-view","last_synced_at":"2026-01-17T11:10:42.344Z","repository":{"id":51173212,"uuid":"274806769","full_name":"junhoyeo/react-mobile-sized-view","owner":"junhoyeo","description":"🍑 Responsive Mobile-sized Wrapper for React - Easily prototype your mobile-sized web apps with desktop support","archived":false,"fork":false,"pushed_at":"2023-10-16T17:42:50.000Z","size":5956,"stargazers_count":30,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-03T23:45:44.732Z","etag":null,"topics":["component","mobile","mobile-view","prototype","react"],"latest_commit_sha":null,"homepage":"","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/junhoyeo.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}},"created_at":"2020-06-25T01:42:42.000Z","updated_at":"2024-07-19T18:51:13.000Z","dependencies_parsed_at":"2022-09-08T06:21:08.201Z","dependency_job_id":null,"html_url":"https://github.com/junhoyeo/react-mobile-sized-view","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/junhoyeo/react-mobile-sized-view","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junhoyeo%2Freact-mobile-sized-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junhoyeo%2Freact-mobile-sized-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junhoyeo%2Freact-mobile-sized-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junhoyeo%2Freact-mobile-sized-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/junhoyeo","download_url":"https://codeload.github.com/junhoyeo/react-mobile-sized-view/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junhoyeo%2Freact-mobile-sized-view/sbom","scorecard":{"id":542727,"data":{"date":"2025-08-11","repo":{"name":"github.com/junhoyeo/react-mobile-sized-view","commit":"a4d59917f70254e1230451b2194d800aab7252d8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/20 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T08:38:35.059Z","repository_id":51173212,"created_at":"2025-08-20T08:38:35.059Z","updated_at":"2025-08-20T08:38:35.059Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28506616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T10:25:30.148Z","status":"ssl_error","status_checked_at":"2026-01-17T10:25:29.718Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["component","mobile","mobile-view","prototype","react"],"created_at":"2026-01-17T11:10:41.481Z","updated_at":"2026-01-17T11:10:42.334Z","avatar_url":"https://github.com/junhoyeo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-mobile-sized-view\n\u003ca href=\"https://www.producthunt.com/posts/react-mobile-sized-view?utm_source=badge-featured\u0026utm_medium=badge\u0026utm_souce=badge-react-mobile-sized-view\" target=\"_blank\"\u003e\u003cimg src=\"https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=296903\u0026theme=light\" alt=\"React Mobile Sized View - 🍑 Responsive Mobile-sized Wrapper for React | Product Hunt\" style=\"width: 250px; height: 54px;\" width=\"250\" height=\"54\" /\u003e\u003c/a\u003e\n\n- Featured on [reactjsexample.com](https://reactjsexample.com/a-neumorphism-style-mobile-sized-view-component-for-react/)(thx editor 🙇)\n\n![demo image](https://github.com/junhoyeo/react-mobile-sized-view/raw/main/docs/demo.gif)\n\n\u003e 🍑 Responsive Mobile-sized Wrapper for React\n\n## 🚀 Examples\n\u003ca href=\"https://github.com/junhoyeo/buymetesla\"\u003e\u003cimg width=\"50%\" src=\"https://github.com/junhoyeo/react-mobile-sized-view/raw/main/docs/examples/buymetesla.png\" /\u003e\u003c/a\u003e\u003ca href=\"https://github.com/junhoyeo/NIKE-THE-DRAW-Calendar\"\u003e\u003cimg width=\"50%\" src=\"https://github.com/junhoyeo/react-mobile-sized-view/raw/main/docs/examples/nike-calendar.png\"\u003e\u003c/a\u003e\n\n\u003e ⚠️ Warning: **The following examples can be using the outdated version of this package, and can not be the best usage here**(this package was very ugly before I tidy up lol). Please use issues and PRs in this repository for sharing more ideas and suggestions, including proper exploits\n\n- [junhoyeo/buymetesla](https://github.com/junhoyeo/buymetesla)\n- [junhoyeo/NIKE-THE-DRAW-Calendar](https://github.com/junhoyeo/NIKE-THE-DRAW-Calendar)\n- [stevejkang/vue-mobile-sized-view](https://github.com/stevejkang/vue-mobile-sized-view)\n\n\u003e **[🚀 Add your apps here too!](https://github.com/junhoyeo/react-mobile-sized-view/issues/new)**\n\n## 📦 Usage\n\n```bash\nyarn add styled-components \u0026\u0026 yarn add -D @types/styled-components\nyarn add react-mobile-sized-view\n```\n\n```tsx\nimport React from 'react';\nimport MobileSizedView from 'react-mobile-sized-view';\n\nconst App: React.FC = () =\u003e (\n  \u003cMobileSizedView\n    style={{ backgroundColor: '#F6DADB' }}\n    screenStyle={{\n      backgroundColor: '#fefefe',\n      boxShadow: '-31px -31px 62px #FAE0E0, 31px 31px 62px #EAB6BE',\n    }}\n    isRounded\n  \u003e\n    \u003ch1\u003eTitle in Screen\u003c/h1\u003e\n  \u003c/MobileSizedView\u003e\n);\n\nexport default App;\n```\n\n## ⚓️ Hooks\n\n```tsx\nimport { useScreenSize } from 'react-mobile-sized-view';\n\nconst SomeComponent: React.FC = () =\u003e {\n  const { width: screenWidth } = useScreenSize();\n  // Comes with SSR support\n\n  return (\n    \u003cdiv\n      style={{\n        width: screenWidth,\n        height: screenWidth,\n        backgroundColor: 'coral',\n      }}\n    /\u003e\n  );\n};\n```\n\n- [useScreenSize](https://github.com/junhoyeo/react-mobile-sized-view/blob/main/src/hooks/useScreenSize.ts): Use this to get the size of the `MobileSizedView`\n- [useWindowSize](https://github.com/junhoyeo/react-mobile-sized-view/blob/main/src/hooks/useWindowSize.ts)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunhoyeo%2Freact-mobile-sized-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunhoyeo%2Freact-mobile-sized-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunhoyeo%2Freact-mobile-sized-view/lists"}