{"id":19225893,"url":"https://github.com/thoriqdharmawan/react-flip","last_synced_at":"2025-04-21T00:32:27.404Z","repository":{"id":123490210,"uuid":"268501247","full_name":"thoriqdharmawan/react-flip","owner":"thoriqdharmawan","description":"flip flop flup :construction: flip your React component :carousel_horse: :carousel_horse:","archived":false,"fork":false,"pushed_at":"2024-04-23T02:23:58.000Z","size":1649,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T07:22:08.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-flip-thoriqdharmawan","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/thoriqdharmawan.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}},"created_at":"2020-06-01T11:20:32.000Z","updated_at":"2024-01-20T13:25:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"edfa119d-ab6c-4b07-9d5a-33e45371cc44","html_url":"https://github.com/thoriqdharmawan/react-flip","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/thoriqdharmawan%2Freact-flip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoriqdharmawan%2Freact-flip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoriqdharmawan%2Freact-flip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoriqdharmawan%2Freact-flip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thoriqdharmawan","download_url":"https://codeload.github.com/thoriqdharmawan/react-flip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249518097,"owners_count":21284899,"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":[],"created_at":"2024-11-09T15:16:44.006Z","updated_at":"2025-04-21T00:32:27.099Z","avatar_url":"https://github.com/thoriqdharmawan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-flip\n\n\u003e \"D\n\n[![NPM](https://img.shields.io/npm/v/react-flip.svg)](https://www.npmjs.com/package/react-flip) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## Install\n\n```bash\nnpm install --save react-flip\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\n\nimport { Wrapper } from \"react-flip\";\n\nconst Example = () =\u003e {\n  const style = {\n    content: {\n      backgroundColor: \"#bbb\",\n      position: \"absolute\",\n      width: \"100%\",\n      height: \"100%\",\n      backfaceVisibility: \"hidden\",\n    },\n    content2: {\n      backgroundColor: \"#2980b9\",\n      position: \"absolute\",\n      width: \"100%\",\n      height: \"100%\",\n      backfaceVisibility: \"hidden\",\n      transform: \"rotateY(180deg)\",\n    },\n  };\n\n  return (\n    \u003cWrapper\n      trigger=\"hover\"\n      direction=\"vertical\"\n      flipForward\n      rotation=\"left\"\n      duration={0.6}\n      flipCount={1}\n      perspective=\"900px\"\n    \u003e\n      \u003cdiv style={style.content} /\u003e\n      \u003cdiv style={style.content2} /\u003e\n    \u003c/Wrapper\u003e\n  );\n};\n```\n\n## License\n\nMIT © [thoriqdharmawan](https://github.com/thoriqdharmawan)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoriqdharmawan%2Freact-flip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthoriqdharmawan%2Freact-flip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoriqdharmawan%2Freact-flip/lists"}