{"id":23222964,"url":"https://github.com/dckt/spacer-web","last_synced_at":"2026-05-01T09:31:16.714Z","repository":{"id":146972904,"uuid":"196759276","full_name":"DCKT/spacer-web","owner":"DCKT","description":"An utility component for pushing other elements and avoid `padding`, `margin` for the web","archived":false,"fork":false,"pushed_at":"2019-07-13T19:39:42.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-05T16:35:04.149Z","etag":null,"topics":["react","reason-react","reasonml","utility"],"latest_commit_sha":null,"homepage":null,"language":"OCaml","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/DCKT.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":"2019-07-13T19:33:27.000Z","updated_at":"2019-07-13T19:39:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca5db75c-f57d-4ae1-8682-80053ad42afa","html_url":"https://github.com/DCKT/spacer-web","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DCKT/spacer-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCKT%2Fspacer-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCKT%2Fspacer-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCKT%2Fspacer-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCKT%2Fspacer-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DCKT","download_url":"https://codeload.github.com/DCKT/spacer-web/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCKT%2Fspacer-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32492081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["react","reason-react","reasonml","utility"],"created_at":"2024-12-18T23:15:32.648Z","updated_at":"2026-05-01T09:31:16.708Z","avatar_url":"https://github.com/DCKT.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spacer\n\nAn utility component for pushing other elements and avoid `padding`, `margin` everywhere.\n\n## Usage\n\nInstall :\n\n```console\n$ yarn add @dck/spacer-web\n```\n\n### Web\n\n```js\nimport Spacer from \"@dck/spacer-web\"\n\nconst App = () =\u003e {\n  return (\n    \u003cdiv\u003e\n      \u003ch1\u003eHello\u003c/h1\u003e\n      \u003cSpacer height={10} /\u003e\n      \u003cp\u003eworld\u003c/p\u003e\n    \u003c/div\u003e\n  )\n}\n```\n\n### ReasonML\n\nAdd the module to your `bsconfig.json` file :\n\n```json\n{\n  \"bs-dependencies\": [\"@dck/spacer-web\"]\n}\n```\n\nUse it in your app code :\n\n```reason\n[@react.component]\nlet make = () =\u003e {  \n  \u003cdiv\u003e\n    \u003ch1\u003e{\"Hello\" |\u003e React.string}\u003c/h1\u003e\n    \u003cSpacer height=10 /\u003e\n    \u003cp\u003e{\"World\" |\u003e React.string}\u003c/p\u003e\n  \u003c/div\u003e\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdckt%2Fspacer-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdckt%2Fspacer-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdckt%2Fspacer-web/lists"}