{"id":23103590,"url":"https://github.com/pjb0811/react-3d-cube","last_synced_at":"2025-08-16T15:32:29.744Z","repository":{"id":32912518,"uuid":"145925625","full_name":"pjb0811/react-3d-cube","owner":"pjb0811","description":" cube app using react \u0026 react-motion.","archived":false,"fork":false,"pushed_at":"2021-11-28T20:51:50.000Z","size":3032,"stargazers_count":4,"open_issues_count":3,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-12T17:41:16.835Z","etag":null,"topics":["3d","cube","react","react-motion"],"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/pjb0811.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":"2018-08-24T01:20:12.000Z","updated_at":"2023-07-27T09:29:08.000Z","dependencies_parsed_at":"2022-08-01T09:39:04.104Z","dependency_job_id":null,"html_url":"https://github.com/pjb0811/react-3d-cube","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjb0811%2Freact-3d-cube","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjb0811%2Freact-3d-cube/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjb0811%2Freact-3d-cube/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjb0811%2Freact-3d-cube/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pjb0811","download_url":"https://codeload.github.com/pjb0811/react-3d-cube/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230043243,"owners_count":18163982,"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","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":["3d","cube","react","react-motion"],"created_at":"2024-12-17T00:21:45.776Z","updated_at":"2024-12-17T00:21:46.259Z","avatar_url":"https://github.com/pjb0811.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-3d-cube\n\n\u003e cube app using react \u0026amp; react-motion.\n\n[![NPM](https://img.shields.io/npm/v/react-3d-cube.svg)](https://www.npmjs.com/package/react-3d-cube) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\nThis package is included in [react-motion-components](https://github.com/pjb0811/react-motion-components).\n\n## Install\n\n```bash\nnpm install --save react-3d-cube\n```\n\n## Usage\n\n[demo](https://codesandbox.io/s/ojvpllm87q)\n\n```tsx\nimport * as React from 'react';\n\nimport Cube from 'react-3d-cube';\n\nclass Example extends React.Component {\n  render() {\n    return (\n      \u003cdiv\u003e\n        \u003ch1\u003ereact-3d-cube\u003c/h1\u003e\n        \u003ch2\u003eno children\u003c/h2\u003e\n        \u003cdiv\n          style={{\n            width: 300,\n            height: 300\n          }}\n        \u003e\n          \u003cCube size={300} index=\"front\" /\u003e\n        \u003c/div\u003e\n        \u003ch2\u003eset children\u003c/h2\u003e\n        \u003cdiv\n          style={{\n            width: 300,\n            height: 300\n          }}\n        \u003e\n          \u003cCube size={300} index=\"front\"\u003e\n            \u003cdiv\u003efront\u003c/div\u003e\n            \u003cdiv\u003eright\u003c/div\u003e\n            \u003cdiv\u003eback\u003c/div\u003e\n            \u003cdiv\u003eleft\u003c/div\u003e\n            \u003cdiv\u003etop\u003c/div\u003e\n            \u003cdiv\u003ebottom\u003c/div\u003e\n          \u003c/Cube\u003e\n        \u003c/div\u003e\n      \u003c/div\u003e\n    );\n  }\n}\n```\n\n## License\n\nMIT © [pjb0811](https://github.com/pjb0811)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpjb0811%2Freact-3d-cube","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpjb0811%2Freact-3d-cube","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpjb0811%2Freact-3d-cube/lists"}