{"id":13436394,"url":"https://github.com/bokuweb-sandbox/react-motion-menu","last_synced_at":"2025-03-18T21:30:27.011Z","repository":{"id":57334817,"uuid":"47227710","full_name":"bokuweb-sandbox/react-motion-menu","owner":"bokuweb-sandbox","description":"[DEPRECATED] 🍔 A spring animation menu component for React.","archived":true,"fork":false,"pushed_at":"2018-02-20T06:07:03.000Z","size":704,"stargazers_count":333,"open_issues_count":5,"forks_count":46,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-05-01T23:02:13.052Z","etag":null,"topics":["menu","react","react-motion"],"latest_commit_sha":null,"homepage":"http://bokuweb.github.io/react-motion-menu/","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/bokuweb-sandbox.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":"2015-12-02T01:09:04.000Z","updated_at":"2024-03-21T17:11:20.000Z","dependencies_parsed_at":"2022-08-31T16:51:01.669Z","dependency_job_id":null,"html_url":"https://github.com/bokuweb-sandbox/react-motion-menu","commit_stats":null,"previous_names":["bokuweb/react-motion-menu"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bokuweb-sandbox%2Freact-motion-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bokuweb-sandbox%2Freact-motion-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bokuweb-sandbox%2Freact-motion-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bokuweb-sandbox%2Freact-motion-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bokuweb-sandbox","download_url":"https://codeload.github.com/bokuweb-sandbox/react-motion-menu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244310261,"owners_count":20432502,"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":["menu","react","react-motion"],"created_at":"2024-07-31T03:00:47.636Z","updated_at":"2025-03-18T21:30:26.170Z","avatar_url":"https://github.com/bokuweb-sandbox.png","language":"JavaScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Deprecated\n\nDeprecated as the react-motion-menu project is no longer maintained.\n\n---\n\n# react-motion-menu\n\nAnimation menu component for React.\n\n\u003cp\u003e\u003ca href=\"https://travis-ci.org/bokuweb/react-motion-menu.svg\"\u003e\n\u003cimg src=\"https://img.shields.io/travis/bokuweb/react-motion-menu.svg?\" alt=\"Build Status\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/react-motion-menu\"\u003e\n\u003cimg src=\"https://img.shields.io/npm/v/react-motion-menu.svg\" alt=\"Build Status\" /\u003e\u003c/a\u003e \n\u003c/p\u003e\n\n## Demo\n\n![screenshot](https://github.com/bokuweb/react-motion-menu/blob/master/docs/screenshot.gif?raw=true)\n\nSee demo: [http://bokuweb.github.io/react-motion-menu/](http://bokuweb.github.io/react-motion-menu/)\n\n\n## Installation\n\n```sh\nnpm i react-motion-menu\n```\n\n## Overview\n\n### Basic\n\n``` javascript\nimport React from 'react';\nimport MotionMenu from '../../src';\n\nexport default () =\u003e (\n  \u003cMotionMenu\n    type=\"circle\"\n    margin={120}\n  \u003e\n    \u003cdiv className=\"button\"\u003e\n      \u003ci className=\"fa fa-bars\" /\u003e\n    \u003c/div\u003e\n    \u003cdiv className=\"button\"\u003e\n      \u003ci className=\"fa fa-cogs\" /\u003e\n    \u003c/div\u003e\n    \u003cdiv className=\"button\"\u003e\n      \u003ci className=\"fa fa-cloud\" /\u003e\n    \u003c/div\u003e\n    \u003cdiv className=\"button\"\u003e\n      \u003ci className=\"fa fa-home\" /\u003e\n    \u003c/div\u003e\n  \u003c/MotionMenu\u003e\n);\n```\n\n## Properties\n\n\n#### `x: PropTypes.number`\n\nThe position `x` of the menu button.\nIf ommited, set 0.\n\n#### `y: PropTypes.number`\n\nThe position `y` of the menu button.\nIf ommited, set 0.\n\n#### `type: PropTypes.oneOf(['vertical', 'horizontal', 'circle'])`\n\nThe Menu opening and closing type.\nPlease set `horizontal`, `vertical`, `circle`.\n\n#### `margin: PropTypes.number`\n\nThe `margin` between items or menu button.\n\n#### `wing: PropTypes.bool`\n\nIf set `true`, menu opened both side, when `vertical` or `horizontal` type selected.\n\n#### `bumpy: PropTypes.bool`\n\nThis prop controls if the menu items should open in bumpy mode or in smooth mode.\nDefault mode is set to bumpy effect. \n\n#### `openSpeed: PropTypes.number`\n\nThis prop controls how fast the menu items should open. Default speed is set to 60 milliseconds.\n \n#### `reverse: PropTypes.bool`\n\nThis prop controls if the menu should open in reverse direction or not. \n\n## Test\n\n``` sh\nnpm t\n```\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2016 @bokuweb\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbokuweb-sandbox%2Freact-motion-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbokuweb-sandbox%2Freact-motion-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbokuweb-sandbox%2Freact-motion-menu/lists"}