{"id":19232106,"url":"https://github.com/horusgoul/remix-react-native-pressable","last_synced_at":"2025-06-24T06:07:50.858Z","repository":{"id":57353138,"uuid":"461180167","full_name":"HorusGoul/remix-react-native-pressable","owner":"HorusGoul","description":"React Native Web's \u003cPressable\u003e, but with Remix's \u003cLink\u003e magic.","archived":false,"fork":false,"pushed_at":"2022-02-19T13:07:20.000Z","size":202,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-16T19:49:57.862Z","etag":null,"topics":["react-native","react-native-web","remix"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/HorusGoul.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":"2022-02-19T12:06:47.000Z","updated_at":"2024-08-14T11:25:24.000Z","dependencies_parsed_at":"2022-08-29T19:10:50.586Z","dependency_job_id":null,"html_url":"https://github.com/HorusGoul/remix-react-native-pressable","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/HorusGoul/remix-react-native-pressable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HorusGoul%2Fremix-react-native-pressable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HorusGoul%2Fremix-react-native-pressable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HorusGoul%2Fremix-react-native-pressable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HorusGoul%2Fremix-react-native-pressable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HorusGoul","download_url":"https://codeload.github.com/HorusGoul/remix-react-native-pressable/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HorusGoul%2Fremix-react-native-pressable/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261618125,"owners_count":23185094,"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":["react-native","react-native-web","remix"],"created_at":"2024-11-09T16:05:22.612Z","updated_at":"2025-06-24T06:07:50.827Z","avatar_url":"https://github.com/HorusGoul.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# remix-react-native-pressable\n\n[![NPM](https://img.shields.io/npm/v/remix-react-native-pressable.svg)](https://www.npmjs.com/package/remix-react-native-pressable)\n[![Bundlephobia][bundlephobia-badge]][bundlephobia]\n[![Github All Contributors][all-contributors-badge]](#contributors)\n[![License][license-badge]][license]\n[![License][twitter-badge]][twitter]\n[![License][star-badge]][star]\n\nReact Native Web's `\u003cPressable\u003e`, but with Remix's `\u003cLink\u003e` magic.\n\n## How to use:\n\nInstall it with your favorite package manager:\n\n```bash\n# npm\nnpm install remix-react-native-pressable\n\n# yarn\nyarn add remix-react-native-pressable\n\n# pnpm\npnpm add remix-react-native-pressable\n```\n\nImagine `\u003cRemixPressable\u003e` is like a Remix `\u003cLink\u003e`, but with all the React Native Web `Pressable` props!\n\nHere's a little example using the `to` property.\n\n```tsx\nimport { View, Text } from 'react-native';\nimport { RemixPressable } from 'remix-react-native-pressable';\n\nexport default function MyRemixRoute() {\n  return (\n    \u003cView\u003e\n      \u003cRemixPressable to=\"/about\"\u003e\n        \u003cText\u003eLink to /about\u003c/Text\u003e\n      \u003c/RemixPressable\u003e\n    \u003c/View\u003e\n  );\n}\n```\n\nWe also provide a `\u003cRemixPressableChildren\u003e` component and a `useRemixPressableProps` hook, in case you want to build your own wrapper or use the render prop pattern.\n\n## More docs:\n\n- Check out the [Remix's `\u003cLink\u003e` documentation for more info](https://remix.run/docs/en/v1/api/remix#link).\n- Since Remix's `\u003cLink\u003e` wraps React Router DOM's `\u003cLink\u003e`, you can use [the same props](https://reactrouter.com/docs/en/v6/api#link).\n- Also, React Native Web's `\u003cPressable\u003e` has a [full list of props](https://necolas.github.io/react-native-web/docs/pressable/).\n\n## Contributors\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://horus.dev\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/6759612?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eHorus Lugo\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#maintenance-HorusGoul\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e \u003ca href=\"#ideas-HorusGoul\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e \u003ca href=\"https://github.com/HorusGoul/remix-react-native-pressable/commits?author=HorusGoul\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#design-HorusGoul\" title=\"Design\"\u003e🎨\u003c/a\u003e \u003ca href=\"https://github.com/HorusGoul/remix-react-native-pressable/pulls?q=is%3Apr+reviewed-by%3AHorusGoul\" title=\"Reviewed Pull Requests\"\u003e👀\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\n\u003c!-- prettier-ignore-start --\u003e\n[all-contributors-badge]: https://img.shields.io/github/all-contributors/HorusGoul/remix-react-native-pressable/main\n[license-badge]: https://img.shields.io/github/license/HorusGoul/remix-react-native-pressable\n[license]: ./LICENSE\n[bundlephobia-badge]: https://img.shields.io/bundlephobia/minzip/remix-react-native-pressable\n[bundlephobia]: https://bundlephobia.com/package/remix-react-native-pressable\n[twitter-badge]: https://img.shields.io/twitter/follow/horusgoul.svg?style=social\u0026label=Follow\n[twitter]: https://twitter.com/horusgoul\n[star-badge]: https://img.shields.io/github/stars/HorusGoul/remix-react-native-pressable.svg?style=social\u0026label=Star\n[star]: https://github.com/horusgoul/remix-react-native-pressable\n\u003c!-- prettier-ignore-end --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorusgoul%2Fremix-react-native-pressable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhorusgoul%2Fremix-react-native-pressable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorusgoul%2Fremix-react-native-pressable/lists"}