{"id":13637480,"url":"https://github.com/n4kz/react-native-material-ripple","last_synced_at":"2025-05-16T01:05:30.710Z","repository":{"id":54082872,"uuid":"83052113","full_name":"n4kz/react-native-material-ripple","owner":"n4kz","description":"Base component for touchable elements","archived":false,"fork":false,"pushed_at":"2022-11-09T16:41:36.000Z","size":274,"stargazers_count":416,"open_issues_count":22,"forks_count":86,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-08T11:08:17.154Z","etag":null,"topics":["android","ios","material","material-design","react","react-native"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/n4kz.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-24T14:57:01.000Z","updated_at":"2025-04-06T17:23:07.000Z","dependencies_parsed_at":"2023-01-22T10:30:58.324Z","dependency_job_id":null,"html_url":"https://github.com/n4kz/react-native-material-ripple","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n4kz%2Freact-native-material-ripple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n4kz%2Freact-native-material-ripple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n4kz%2Freact-native-material-ripple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n4kz%2Freact-native-material-ripple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n4kz","download_url":"https://codeload.github.com/n4kz/react-native-material-ripple/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254448579,"owners_count":22072764,"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":["android","ios","material","material-design","react","react-native"],"created_at":"2024-08-02T00:01:18.167Z","updated_at":"2025-05-16T01:05:25.699Z","avatar_url":"https://github.com/n4kz.png","language":"JavaScript","funding_links":[],"categories":["React Native"],"sub_categories":["Components React Native"],"readme":"[npm-badge]: https://img.shields.io/npm/v/react-native-material-ripple.svg?colorB=ff6d00\n[npm-url]: https://npmjs.com/package/react-native-material-ripple\n[license-badge]: https://img.shields.io/npm/l/react-native-material-ripple.svg?colorB=448aff\n[license-url]: https://raw.githubusercontent.com/n4kz/react-native-material-ripple/master/license.txt\n[codeclimate-badge]: https://img.shields.io/codeclimate/maintainability/n4kz/react-native-material-ripple.svg\n[codeclimate-url]: https://codeclimate.com/github/n4kz/react-native-material-ripple\n[example-url]: https://cloud.githubusercontent.com/assets/2055622/24832328/459afaf0-1cb6-11e7-975d-accedb67a716.gif\n[touchable]: https://facebook.github.io/react-native/docs/touchablewithoutfeedback.html\n\n# react-native-material-ripple\n\n[![npm][npm-badge]][npm-url]\n[![license][license-badge]][license-url]\n[![codeclimate][codeclimate-badge]][codeclimate-url]\n\nBase component for touchable elements\n\n![example][example-url]\n\n## Features\n\n* Easy to use\n* Configurable\n* Consistent look and feel on iOS and Android\n* Can be used as drop-in replacement for [TouchableWithoutFeedback][touchable]\n* Pure javascript implementation\n* RTL Support\n\n## Installation\n\n```bash\nnpm install --save react-native-material-ripple\n```\n\n## Usage\n\n```javascript\nimport React, { Component } from 'react';\nimport { Text } from 'react-native';\nimport Ripple from 'react-native-material-ripple';\n\nclass Example extends Component {\n  render() {\n    return (\n      \u003cRipple\u003e\n        \u003cText\u003etouch me\u003c/Text\u003e\n      \u003c/Ripple\u003e\n    );\n  }\n}\n```\n\n## Properties\n\n name                        | description                            | type     | default\n:--------------------------- |:-------------------------------------- | --------:|:------------\n rippleColor                 | Ripple color                           |   String | rgb(0, 0, 0)\n rippleOpacity               | Ripple opacity                         |   Number | 0.3\n rippleDuration              | Ripple duration in ms                  |   Number | 400\n rippleSize                  | Ripple size restriction                |   Number | 0\n rippleContainerBorderRadius | Ripple container border radius         |   Number | 0\n rippleCentered              | Ripple always starts from center       |  Boolean | false\n rippleSequential            | Ripple should start in sequence        |  Boolean | false\n rippleFades                 | Ripple fades out                       |  Boolean | true\n disabled                    | Ripple should ignore touches           |  Boolean | false\n onPressIn                   | Touch moved in or started callback     | Function | -\n onPressOut                  | Touch moved out or terminated callback | Function | -\n onPress                     | Touch up inside bounds callback        | Function | -\n onLongPress                 | Touch delayed after onPressIn callback | Function | -\n onRippleAnimation           | Animation start callback               | Function | -\n\nOther [TouchableWithoutFeedback][touchable] properties will also work\n\n## Example\n\n```bash\ngit clone https://github.com/n4kz/react-native-material-ripple\ncd react-native-material-ripple/example\nnpm install\nreact-native run-ios # or run-android\n```\n\n## Copyright and License\n\nBSD License\n\nCopyright 2017-2018 Alexander Nazarov. All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn4kz%2Freact-native-material-ripple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn4kz%2Freact-native-material-ripple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn4kz%2Freact-native-material-ripple/lists"}