TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: React-magic-motion, a package to automatically animate your components

60 点作者 Etesam超过 1 年前
react-magic-motion is a npm package for react.js that gives you a component named &lt;MagicMotion&gt;. All children of this MagicMotion tag will have all their layout changes animated.<p>This automatic animation built on top of framer-motion, so that means that you will get all of its features as well (spring animation, shared layout animations, etc...).<p><a href="https:&#x2F;&#x2F;www.react-magic-motion.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.react-magic-motion.com&#x2F;</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;etesam913&#x2F;react-magic-motion">https:&#x2F;&#x2F;github.com&#x2F;etesam913&#x2F;react-magic-motion</a>

5 条评论

lloydatkinson超过 1 年前
I was about to ask how this compares to Framer Motion but looks like it uses it internally<p>&gt; react-magic-motion&#x27;s only dependency is framer-motion as the automatic animation is built off of framer-motion&#x27;s layout animations.
nvegater超过 1 年前
The defaults are opinionated but also minimalistic, I like this! Props on the simplicity!
KRAKRISMOTT超过 1 年前
How does it compare to the infamous framer motion?
评论 #37996061 未加载
评论 #37997033 未加载
forward-slashed超过 1 年前
How would one adapt this to vanilla js (or clojurescript)?
评论 #37999058 未加载
评论 #37996978 未加载
mock-possum超过 1 年前
Holy shit. That’s actually really impressive.