{"id":16925086,"url":"https://github.com/hiroppy/react-scalable","last_synced_at":"2026-04-19T10:34:51.564Z","repository":{"id":57344037,"uuid":"100193744","full_name":"hiroppy/react-scalable","owner":"hiroppy","description":"Fit your element with the outer frame","archived":false,"fork":false,"pushed_at":"2020-08-17T02:25:47.000Z","size":9665,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T22:27:02.133Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/hiroppy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-13T17:37:25.000Z","updated_at":"2018-03-10T07:53:27.000Z","dependencies_parsed_at":"2022-09-16T02:51:34.487Z","dependency_job_id":null,"html_url":"https://github.com/hiroppy/react-scalable","commit_stats":null,"previous_names":["abouthiroppy/react-scalable"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hiroppy/react-scalable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Freact-scalable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Freact-scalable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Freact-scalable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Freact-scalable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiroppy","download_url":"https://codeload.github.com/hiroppy/react-scalable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroppy%2Freact-scalable/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32004041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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-13T20:08:47.445Z","updated_at":"2026-04-19T10:34:51.420Z","avatar_url":"https://github.com/hiroppy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003ereact-scalable\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003c!-- travis https://travis-ci.org/ --\u003e\n\u003c!-- appveyor https://ci.appveyor.com --\u003e\n\u003c!-- codecov https://codecov.io/gh --\u003e\n\u003c!-- npm version badge: https://badge.fury.io/ --\u003e\n\nRespect [Scalable](https://github.com/ScriptArtist/Scalable).\n\n![](./images/readme.gif)\n\n## Demo\nhttps://abouthiroppy.github.io/react-scalable\n\n## Install\n```sh\n$ npm i --save react-scalable\n```\n\n## Usage\n```javascript\nimport React from 'react';\nimport Scalable from 'react-scalable';\n\nconst Component = () =\u003e (\n  \u003cScalable\u003e\n    \u003ch1\u003eHello!\u003c/h1\u003e\n  \u003c/Scalable\u003e\n);\n```\n\n## Props\n\n| Name | Default | Type | Description |\n| ------------- | ------------- | ------------- | ------------- |\n| align | center | center \u0026#124; left \u0026#124; right | An element's horizontal alignment |\n| verticalAlign | center | center \u0026#124; top \u0026#124; bottom | An element's vertical alignment  |\n|containerHeight|fixed| fixed \u0026#124; auto| whether the element is fitted within content |\n|minScale| N/A | number | an element's minimum scale |\n|maxScale| N/A | number | an element's maximum scale |\n\n## Development\n```sh\n$ npm i\n$ npm start # start storybook\n$ open http://localhost:8080\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroppy%2Freact-scalable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiroppy%2Freact-scalable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroppy%2Freact-scalable/lists"}