{"id":29211323,"url":"https://github.com/ialoig/react-native-touchable-scale-reanimated","last_synced_at":"2026-04-20T10:32:47.106Z","repository":{"id":57688675,"uuid":"382289476","full_name":"ialoig/react-native-touchable-scale-reanimated","owner":"ialoig","description":"Touchable component that scale when a gesture is handled","archived":false,"fork":false,"pushed_at":"2022-06-06T10:30:03.000Z","size":472,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T08:13:58.740Z","etag":null,"topics":["javascript","react","react-native","reactjs","reanimated2"],"latest_commit_sha":null,"homepage":"","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/ialoig.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":"2021-07-02T09:00:20.000Z","updated_at":"2023-12-19T06:18:31.000Z","dependencies_parsed_at":"2022-08-25T18:20:33.368Z","dependency_job_id":null,"html_url":"https://github.com/ialoig/react-native-touchable-scale-reanimated","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ialoig/react-native-touchable-scale-reanimated","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ialoig%2Freact-native-touchable-scale-reanimated","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ialoig%2Freact-native-touchable-scale-reanimated/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ialoig%2Freact-native-touchable-scale-reanimated/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ialoig%2Freact-native-touchable-scale-reanimated/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ialoig","download_url":"https://codeload.github.com/ialoig/react-native-touchable-scale-reanimated/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ialoig%2Freact-native-touchable-scale-reanimated/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32043033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["javascript","react","react-native","reactjs","reanimated2"],"created_at":"2025-07-02T22:01:28.270Z","updated_at":"2026-04-20T10:32:47.091Z","avatar_url":"https://github.com/ialoig.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Touchable Scale Reanimated [![github version](https://img.shields.io/github/package-json/v/ialoig/react-native-touchable-scale-reanimated)](https://github.com/ialoig/react-native-touchable-scale-reanimated) [![npm version](https://img.shields.io/npm/v/react-native-touchable-scale-reanimated-reanimated?color=red)](https://www.npmjs.com/package/react-native-touchable-scale-reanimated-reanimated)\n\n### Hi 👋\n\n### `Touchable Scale Reanimated` is a simple React Native component animated with [`Reanimated 2`](https://www.reanimated2.com/) that scale when a gesture is handled\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./example/button-scale/src/assets/img/scale-button.gif\" alt=\"TouchableScale\"\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"#GettingStarted\"\u003eGetting Started\u003c/a\u003e \u0026nbsp;|\u0026nbsp;\n  \u003ca href=\"#Properties\"\u003eProperties\u003c/a\u003e \u0026nbsp;|\u0026nbsp;\n  \u003ca href=\"#Example\"\u003eExample\u003c/a\u003e \u0026nbsp;\n\u003c/div\u003e\n\n\u003ch1 id=\"Getting-Started\"\u003e🚀 Getting Started\u003c/h1\u003e\n\n## Prerequisites\n\n* [React Native](https://facebook.github.io/react-native/docs/getting-started.html)\n* [Node v14.17.1](https://nodejs.org/en/)\n* [Reanimated 2](https://docs.swmansion.com/react-native-reanimated/)\n\n## Install\n\n```shell\nnpm install react-native-touchable-scale-reanimated\n```\n\n\u003ch1 id=\"Properties\"\u003e📝 Properties\u003c/h1\u003e\n\n### Touchable Scale Reanimated\n\n| Property                      | Type                                                  | Optional |  Default                                                                                                                                                                                       | Description                                              |\n| :-----: | :---------------------------------------------------: | :-------:| :-----------------------------------------------: | :--------------------:|\n| `style`| `array or object`|Yes| `-`| Style definition of the component we want to render|\n| `children`| `array or object`|No|`-`| Component|\n| `onPress`| `func`|Yes|`-`| Function to be called when onPress event is handled|\n| `scaleValue`| `number`|Yes|`0.95`| Set how much you want to scale the component|\n| `durationValue`|`number`|Yes| `150`| Set the scale duration|\n\n\u003ch1 id=\"Example\"\u003eExample\u003c/h1\u003e\n\nYou can find an example under the folder `/example/button-scale/`.\n\nRun installation from here\n\n```shell\nnpm install react-native-touchable-scale-reanimated\n```\n\nRun app with the following command package version\n\n```shell\nnpm start\n```\n\nHere you can find a defined component (ie. Button ), wrapped with the Touchable Scale component:\n\n```jsx\nimport React from 'react'\nimport TouchableScale from \"../TouchableScale\"\n\nfunction Button ({ title, type, size, border, onPress }) {\n\n  return (\n    \u003cTouchableScale \n      onPress={onPress} \n      style={[ button.button, button[type], button[size], border ? button.border : null ]]}\u003e\n      \u003cText style={[ text.button, text[type]]}\u003e\n        {title}\n      \u003c/Text\u003e\n    \u003c/TouchableScale\u003e\n  )\n}\n\nexport default Button\n```\n\n---\nmade with 💪 by ialoig\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fialoig%2Freact-native-touchable-scale-reanimated","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fialoig%2Freact-native-touchable-scale-reanimated","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fialoig%2Freact-native-touchable-scale-reanimated/lists"}