7/1/2023 0 Comments Crazy framerThis article is intended for UI and UX designers who would like to learn more about Framer X’s prototyping abilities. I’ll make a comparison with the “legacy” Framer app as well as other tools, and I’ll discuss its brand new features such as Stacks and Scroll, and its new Code and Design components. In this article, I’d like to share my thoughts about this new tool and its features. The Framer team recently released a new prototyping tool, Framer X, and I was lucky enough to be able to test it during the beta phase. Lachezar Petkov got to play with it during the beta phase and discusses its brand new features in this article. Start off by adding the following import statement to the top of pages/index.The Framer team recently changed course with the announcement of a new prototyping tool, Framer X. Particularly, we’re going to configure Framer Motion to make the title fade in and grow when the page first loads.įirst things first, we need to import Motion into our app. To get started, we’re going to animate the page title in our wiki app. Once you have the app running locally, you can install it with: yarn add framer-motionĪnd at this point you can start back up your development server and we’ll be ready to go! Starting point - Rick and Morty wiki app in Next.jsįollow along with the commit! Step 1: Animating the page title with Framer Motion in a Next.js app Since we’re going to use Framer Motion to provide our animation features, the first thing we want to do is install it! Step 0: Installing Framer Motion in your Next.js app Otherwise, you should be able to follow along most of this with any React app. While you can follow along without walking through the first one, it might be helpful to have a place to start from. How to Create a Dynamic Rick and Morty Wiki Web App with Next.js The first part focuses on requesting the data from the Rick and Morty API and creating dynamic pages. This is the second part of series of articles walking through building a Rick and Morty wiki. We’ll start off with some basic animations that happen when the page load, learn how to trigger them on hover, and build out a wrapper that allows us to gracefully transition our pages in Next.js. We’re going to use the concepts of Framer Motion to add interaction and page transition effects to our app. The Motion API stems from that work, but is conveniently available as a separate package that we can use for animation control. What is Framer? Framer itself is a UI prototyping tool that allows you to create interactive interfaces with animations that you can hand off to your team, while the Framer API is a Javascript library that lets you do that with code. It provides ready-to-go animations and gesture controls that makes it easy to create dynamic effects. Bonus Step: Getting a little weird with animations in our Next.js Rick and Morty appįramer Motion is an API that comes straight from the Framer API.Step 4: Using Framer Motion keyframes for advanced animations.Step 3: Adding page transitions with Framer Motion to a Next.js app.Step 2: Adding animated hover effects with Framer Motion to elements in a Next.js app.Step 1: Animating the page title with Framer Motion in a Next.js app. Step 0: Installing Framer Motion in your Next.js app.How can we use Framer Motion to add some animations to our web apps and provide a more interactive experience? But just because those apps are static, it doesn't mean they have to be boring. The web is vast and it's full of static websites and apps.
0 Comments
Leave a Reply. |