Navigation überspringen
🎉 Releasing Framer Motion Theatre, a library for creating animated React components.
0:00 / 0:22

🎉 Releasing Framer Motion Theatre, a library for creating animated React components.

Andrew Prifer (is hiring)

@AndrewPrifer5431 Follower

Auf X besuchen

66.545 Aufrufe

🎉 Releasing Framer Motion Theatre, a library for creating animated React components. ⚡️ Use Theatre.js in React with a simple declarative API ⚡️ Animate Framer-motion's motion values using Theatre.js ⚡️ Get WYSIWYG editing for your components with 1 line of code 1/6

10 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Andrew Prifer

    @AndrewPrifer

    FMT lets you get the best of Theatre.js' sequencer and React's declarative API, animate Framer Motion's motion values using Theatre.js, and have all the complexity like sheets, objects, animation instancing and wiring taken care of. ➡️ GitHub: 2/6

    16 Likes

  • Profilbild von Andrew Prifer

    @AndrewPrifer

    🤔 How does it work? While Theatre.js provides a framework-agnostic toolset, its concepts map directly to React and Framer Motion. Sheets → React components Sheet instances → React component instances Objects → Framer Motion motion values 3/6

    10 Likes

  • Profilbild von Andrew Prifer

    @AndrewPrifer

    Using this interpretation, we can wrap Theatre's complexity in a simple declarative API that is very easy to read and write, integrates with Framer Motion's motion components, and allows us to easily add powerful WYSIWYG editing tools to our components. 4/6

    5 Likes

  • Profilbild von Andrew Prifer

    @AndrewPrifer

    Finally, let's look at the code for some fancy animated buttons. The Box component's animation is automatically instanced, we get WYSIWYG editing, Theatre's animation sequencer, and we don't have to write much more code than if we had used just Framer Motion!! 5/6

    4 Likes

  • Profilbild von Andrew Prifer

    @AndrewPrifer

    🥁 And this is what the code looks like. PS: If you'd like to work at a design driven company making the next generation of creative tools, we are hiring across the board at @LumaLabsAI. And if you'd like to help out with @theatre_js, @ariaminaei is looking for folks too! 6/6

    8 Likes

  • Profilbild von Andreas Klinger 🦾

    @andreasklinger

    @theatre_js @framer this is epic 🔥 cc @jornvandijk @ariaminaei

    4 Likes

  • Profilbild von Karan Ganesan

    @karanganesan

    @theatre_js @framer cc @mattgperry

    2 Likes

  • Profilbild von LT

    @damnstaychill

    @theatre_js @framer Yooo!

    1 Like

  • Profilbild von Max Starka

    @MaxStalker

    @theatre_js @framer Oh, wow! 😲 This is literally what I was toying around with 😅 Any chance to collaborate? 🤔

    1 Like

  • Profilbild von Andrew Prifer

    @AndrewPrifer

    @theatre_js @framer Haha awesome!! Of course, check out the GitHub link, second tweet!

    1 Like