{"name":"react-spring","version":"9.0.0-canary.809.4.a637589","keywords":["animated","animation","hooks","motion","react","react-native","spring","typescript","velocity"],"author":{"name":"Paul Henschel"},"license":"MIT","_id":"react-spring@9.0.0-canary.809.4.a637589","contributors":[{"url":"https://github.com/aleclarson","name":"Alec Larson"}],"homepage":"https://github.com/react-spring/react-spring#readme","bugs":{"url":"https://github.com/react-spring/react-spring/issues"},"dist":{"shasum":"c0b20ff13482ad966492fa999664f16af9e96a90","tarball":"http://registry-npm.ywwl.com/react-spring/download/react-spring-9.0.0-canary.809.4.a637589.tgz","fileCount":24,"integrity":"sha512-hw9hj/mnUYFjEiZfXJv4zWZ6uN2UHo7/cwDnL5ZiY2Jg/o+4qy1BOBAEz9dkeQU/ignosK1PPo+1J1fqp41WrA==","signatures":[{"sig":"MEQCIBcwyYgxGkn2BL+oT5J7b1KtRloohuNBLakLgIrWmKmQAiALIvrHsMH3vtnO1k2ZHcc4fNhsvxx11voTm8wsNYAhwA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlggtCRA9TVsSAnZWagAApm0P/iTUCEU+1NC5ecO4sVhc\najs6uXNkoSzhVAdSLmMQTQftX2oVpvYSb/G9rVxMWjiz3GA+kINduSVYvnEs\n3n2+zu24xKXO1zW8KeYoawwZ/vgYqnBSi67CA+D7q9hv0QoHRH5lSf1zWKvL\npMUy8OaAA2MwjvGl71v6a0RoYqI1YJNI2J4rRPbCzZ47mBfrwgxE7iM9N5j/\nmg2QcE52LbY5hwanJB99VjoX32uhWfoU2O2Q0H3Wpsrpvt/zIFhQuOHHZwHN\nFJ7quQgpLvY27hEn/hYGlz2j4ZOfjEsspdyIMdTMLSR8eaz7gm575eUArNGW\nSpfM9UGPRs3mbZ0MxEHtXEdEPoTfNqZLkf1yPxhZz6u1lpsk/Qklinyoz7gK\nx7glNt0FI3gNjKWH1sgVpbr/Rkc3TrSrkxPx2gPrQwGOTKCiLyp2yRZG5SQe\n1/OxEM8W5G4IgbFuxwh2wCpQnhrrMsMwmyClGTP7ffM5arRYhJsIP8E+poB7\nY1u9sS4uCeqfXHHWtWVweLFYCoQFCOuHXEzOMfPJssfkD/mPgb2Suewq4Vc5\nfc8KDbYRcHmJQFbqGqRhzzZHdcL6oUDseuOXYEZW/Xx52U/H2spHB+HoOsYS\n7m3A6p8vyw/zX5uHt4ctlmxJGbi4KB+2i3+r4mdDwzf6pqFTReo7KOqR8NFk\nP39/\r\n=jaax\r\n-----END PGP SIGNATURE-----\r\n","size":4015,"noattachment":false,"key":"/react-spring/-/react-spring-9.0.0-canary.809.4.a637589.tgz"},"main":"web.cjs.js","types":"web.d.ts","module":"web.js","_npmUser":{"name":"aleclarson","email":"alec.stanford.larson@gmail.com"},"_npmVersion":"6.9.0","description":"Cross-platform animation engine for React","directories":{},"sideEffects":false,"_nodeVersion":"11.10.1","dependencies":{"@babel/runtime":"^7.3.1","@react-spring/web":"9.0.0-canary.809.4.a637589","@react-spring/core":"9.0.0-canary.809.4.a637589","@react-spring/zdog":"9.0.0-canary.809.4.a637589","@react-spring/konva":"9.0.0-canary.809.4.a637589","@react-spring/three":"9.0.0-canary.809.4.a637589","@react-spring/addons":"9.0.0-canary.809.4.a637589","@react-spring/native":"9.0.0-canary.809.4.a637589"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/react-spring_9.0.0-canary.809.4.a637589_1570113581011_0.1794471495458474","host":"s3://npm-registry-packages"},"readme":"<p align=\"center\">\n  <img src=\"https://i.imgur.com/QZownhg.png\" width=\"240\" />\n</p>\n\n<br />\n\n<h1 align=\"center\">react-spring</h1>\n<h3 align=\"center\">A spring-physics first animation library <br>giving you flexible tools to confidently cast your ideas</h3>\n\n<br>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/react-spring\" target=\"_blank\">\n    <img src=\"https://img.shields.io/npm/v/react-spring.svg?style=flat&colorA=000000&colorB=000000\" />\n  </a>\n  <a href=\"https://www.npmjs.com/package/react-spring\" target=\"_blank\">\n    <img src=\"https://img.shields.io/npm/dm/react-spring.svg?style=flat&colorA=000000&colorB=000000\" />\n  </a>\n  <a href=\"https://discord.gg/ZZjjNvJ\" target=\"_blank\">\n    <img src=\"https://img.shields.io/discord/740090768164651008?style=flat&colorA=000000&colorB=000000&label=discord&logo=discord&logoColor=ffffff\" alt=\"Chat on Discord\">\n  </a>\n</p>\n\n<br>\n\n`react-spring` is a cross-platform spring-physics first animation library.\n\nIt's as simple as:\n\n```jsx\nconst styles = useSpring({\n  from: {\n    opacity: 0\n  },\n  to: {\n    opacity: 1\n  }\n})\n\n<animated.div style={styles} />\n```\n\nJust a small bit about us:\n\n- **Cross-Platform**: We support `react-dom`, `react-native`, `react-three-fiber`, `react-konva` & `react-zdog`.\n- **Versatile**: Be declarative with your animations or if you prefer, imperative.\n- **Spring-Physics First**: By default animation use springs for fluid interactivity, but we support durations with easings as well.\n\nThere's a lot more to be had! Give it a try and find out.\n\n## Getting Started\n\n### ⚡️ Jump Start\n\n```shell\n# Install the entire library\nnpm install react-spring\n# or just install your specific target (recommended)\nnpm install @react-spring/web\n```\n\n```jsx\nimport { animated, useSpring } from '@react-spring/web'\n\nconst FadeIn = ({ isVisible, children }) => {\n  const styles = useSpring({\n    opacity: isVisible ? 1 : 0,\n    y: isVisible ? 0 : 24,\n  })\n\n  return <animated.div style={styles}>{children}</animated.div>\n}\n```\n\nIt's as simple as that to create scroll-in animations when value of `isVisible` is toggled.\n\n### 📖 Documentation and Examples\n\nMore documentation on the project can be found [here](https://www.react-spring.io).\n\nPages contain their own [examples](https://react-spring.io/hooks/use-spring#demos) which you can check out there, or [open in codesandbox](https://codesandbox.io/s/github/pmndrs/react-spring/tree/main/demo/src/sandboxes/card) for a more in-depth view!\n\n---\n\n## 📣 What others say\n\n<p align=\"middle\">\n  <img src=\"assets/testimonies.jpg\" />\n</p>\n\n## Used by\n\n<p align=\"middle\">\n  <a href=\"https://nextjs.org/\"><img width=\"285\" src=\"assets/projects/next.png\"></a>\n  <a href=\"https://codesandbox.io/\"><img width=\"285\" src=\"assets/projects/csb.png\"></a>\n  <a href=\"https://aragon.org/\"><img width=\"285\" src=\"assets/projects/aragon.png\"></a>\n</p>\n\nAnd [many others...](https://github.com/pmndrs/react-spring/network/dependents)\n\n## Backers\n\nThank you to all our backers! 🙏 If you want to join them here, then consider contributing to our [Opencollective](https://opencollective.com/react-spring).\n\n<a href=\"https://opencollective.com/react-spring#backers\" target=\"_blank\">\n  <img src=\"https://opencollective.com/react-spring/backers.svg?width=890\"/>\n</a>\n\n## Contributors\n\nThis project exists thanks to all the people who contribute.\n\n<a href=\"https://github.com/react-spring/react-spring/graphs/contributors\">\n  <img src=\"https://opencollective.com/react-spring/contributors.svg?width=890\" />\n</a>\n","publish_time":1570113581122,"maintainers":[{"name":"drcmda","email":"drcmda@gmail.com"},{"name":"tdfka_rick","email":"Joshua.ellis18@gmail.com"}],"_cnpm_publish_time":1570113581122,"dist-tags":{"alpha":"9.4.0-alpha.0","beta":"10.0.2-beta.0","deprecated":"0.0.0-deprecated","experimental":"0.0.0-65fc02cc281573bc28d90720983c8e9df9035059-20230625170003","latest":"10.0.4","nightly":"0.0.0-nightly-52cc710-20230626001840"}}