{"id":21890822,"url":"https://github.com/chantastic/react-blox","last_synced_at":"2026-04-13T17:34:57.575Z","repository":{"id":141974524,"uuid":"62759291","full_name":"chantastic/react-blox","owner":"chantastic","description":"Reusable, transportable components with box-model style props.","archived":false,"fork":false,"pushed_at":"2016-07-06T23:13:51.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T03:11:39.634Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/chantastic.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":"2016-07-06T23:12:49.000Z","updated_at":"2019-06-25T14:26:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1d60691-3ff8-4b63-8bd4-63bce7f6d542","html_url":"https://github.com/chantastic/react-blox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chantastic/react-blox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chantastic%2Freact-blox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chantastic%2Freact-blox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chantastic%2Freact-blox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chantastic%2Freact-blox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chantastic","download_url":"https://codeload.github.com/chantastic/react-blox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chantastic%2Freact-blox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31762724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: 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":[],"created_at":"2024-11-28T12:17:20.160Z","updated_at":"2026-04-13T17:34:57.561Z","avatar_url":"https://github.com/chantastic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-blox\n\nReusable, transportable components with box-model style props.\n\n## Don't use this\n\nThere's not a compelling reason why you should use this.\n[https://github.com/petehunt/jsxstyle](jsxstyle) is a more comprehensive\nlibrary that overlaps this feature-set completely.\n\n## Installation and Usage\n\n### Node/CommonJS\n\n*Add to project's `package.json`*\n```\n$ npm i -D react-blox\n```\n\n*Use as needed*\n```\nimport { Box } from \"react-blox\"\n\nconst SomethingLikeADropdown = prop =\u003e (\n  \u003cBox\n    border=\"1px solid blue\"\n    margin=\"1rem\"\n    padding=\"1rem\"\n    minWidth=\"100px\"\n    maxWidth=\"300px\"\n    overflow=\"hidden\"\n    overflowY=\"auto\"\n  \u003e\n    This is a block.\n  \u003c/Box\u003e\n)\n```\n\n### Script-tag\n\n*Add script*\n* Copy `/dist/ReactBlox.js` into your project.\n* Add it to your layout file with something like `\u003cscript\n  src=\"path/to/ReactBlox.js\"\u003e\u003c/script\u003e`.\n* `React` must be loaded before this file.\n\n*Use as needed*\n```\nvar Box = ReactBlox.Box;\n\nvar style = {\n  border: \"1px solid blue\"\n  margin: \"1rem\"\n  padding: \"1rem\"\n  minWidth: \"100px\"\n  maxWidth: \"300px\"\n  overflow: \"hidden\"\n  overflowY: \"auto\"\n}\n\nReactDOM.render(\n  React.createElement(Box, style, \"This is a block\"),\n  mountNode\n)\n```\n\n## Components\n\n#### `Box`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchantastic%2Freact-blox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchantastic%2Freact-blox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchantastic%2Freact-blox/lists"}