{"id":4122,"url":"https://github.com/SoftZen/react-native-bouncy-drawer","last_synced_at":"2025-08-04T00:31:39.487Z","repository":{"id":57161370,"uuid":"106456187","full_name":"SoftZen/react-native-bouncy-drawer","owner":"SoftZen","description":"Bouncy drawer for React Native","archived":false,"fork":false,"pushed_at":"2018-09-09T06:35:51.000Z","size":1490,"stargazers_count":152,"open_issues_count":5,"forks_count":18,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-29T04:04:54.757Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SoftZen.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":"2017-10-10T18:32:29.000Z","updated_at":"2024-01-02T02:58:26.000Z","dependencies_parsed_at":"2022-09-03T16:40:47.528Z","dependency_job_id":null,"html_url":"https://github.com/SoftZen/react-native-bouncy-drawer","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/SoftZen%2Freact-native-bouncy-drawer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftZen%2Freact-native-bouncy-drawer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftZen%2Freact-native-bouncy-drawer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftZen%2Freact-native-bouncy-drawer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoftZen","download_url":"https://codeload.github.com/SoftZen/react-native-bouncy-drawer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228576895,"owners_count":17939645,"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-01-05T20:17:01.778Z","updated_at":"2024-12-07T07:31:09.481Z","avatar_url":"https://github.com/SoftZen.png","language":"JavaScript","funding_links":[],"categories":["Components","Others"],"sub_categories":["UI","Drawer"],"readme":"\n[![](https://img.shields.io/npm/dm/react-native-bouncy-drawer.svg?style=flat-square)](https://www.npmjs.com/package/react-native-bouncy-drawer)\n\n# react-native-bouncy-drawer\nCustomizable bouncy drawer for React Native\n\n[![NPM](https://nodei.co/npm/react-native-bouncy-drawer.png)](https://www.npmjs.com/package/react-native-bouncy-drawer)\n\n\u003cimg src=\"https://github.com/SoftZen/react-native-bouncy-drawer/blob/master/resources/example.gif\" alt=\"example drawer\" width=\"400\"/\u003e\n\nInstallation\n---\n```javascript\n$ npm install react-native-bouncy-drawer --save\n```\nthen\n```javascript\nimport BouncyDrawer from 'react-native-bouncy-drawer'\n\n/*...*/\n\nrender() {\n  return (\n    \u003cBouncyDrawer\n      willOpen={() =\u003e console.log('will open')}\n      didOpen={() =\u003e console.log('did open')}\n      willClose={() =\u003e console.log('will close')}\n      didClose={() =\u003e console.log('did close')}\n      title=\"Activity\"\n      titleStyle={{ color: '#fff', fontFamily: 'Helvetica Neue', fontSize: 20, marginLeft: -3 }}\n      closedHeaderStyle={{ backgroundColor: '#3F3C4C' }}\n      defaultOpenButtonIconColor=\"#fff\"\n      defaultCloseButtonIconColor=\"#fff\"\n      renderContent={this.renderContent}\n      openedHeaderStyle={{ backgroundColor: '#3F3C4C' }}\n      /\u003e\n  );\n}\n```\nRefer to the Example\n\n\n## Available props:\n\n| prop | type | description |default|\n| ------ | ------ | ------ | ------ |\n|headerHeight | number |Height of the header|ios: 60, android: 50|\n|renderContent|funtion|Content of the drawer|\n|openButtonContent|React element|Custom button for opening the drawer|\n|closeButtonContent|React element|Custom button for closing the drawer|\n|openButtonStyle|object|Style for the button opening the drawer|\n|closeButtonStyle|object|Style for the button closing the drawer|\n|openedHeaderStyle|object|Style for the header inside the drawer|\n|closedHeaderStyle|object|Style for the header when the drawer closed|\n|openedHeaderContent|React element|Custom header inside the drawer|\n|defaultOpenButtonIconColor|string|Hamburger color|#373737|\n|defaultCloseButtonIconColor|string|Close icon color|#000|\n|defaultOpenButtonIconSize|number|Hamburger size|26|\n|defaultCloseButtonIconSize|number|Close icon size|30|\n|title|string|Header title when the drawer is closed|\n|titleStyle|object|Header title style when the drawer is closed|\n|openFriction|number|Friction to open animation|\n|openTension|number|Tension to open animation|\n|openSpeed|number|Speed to open animation|\n|openBounciness|number|Bounciness to open animation|\n|closeFriction|number|Friction to close animation|\n|closeTension|number|Tension to close animation|\n|closeSpeed|number|Speed to close animation|\n|closeBounciness|number|Bounciness to close animation|\n|openButtonPosition|('left',right)|Position of the open button|'left'|\n|closeButtonPosition|('left',right)|Position of the close button|'left'|\n\n\nLicense\n----\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSoftZen%2Freact-native-bouncy-drawer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSoftZen%2Freact-native-bouncy-drawer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSoftZen%2Freact-native-bouncy-drawer/lists"}