Introducing Page Effects in Framer
Welcome to the exciting new feature in Framer known as Page Effects, a tool built on the View Transitions API. One of the first tools of its kind, Page Effects lets you create custom animations between pages, enhancing the user interface, and improving the user experience.
The distinctive feature about Page Effects is the ability to add transitions to either all pages or just a single page. This function proves useful especially for larger sites, where you may often have to incorporate the same transition across multiple pages.
To use Page Effects, you can choose the default animations or design custom animations with the controls provided. Experiment with an array of presets or create custom exit animations for each page, and enter animations for the subsequent pages.
Preview the effects as you build them and see the transitions play out between the pages. The subtlety of the animations adds an elegant touch to the overall website experience. Be it between any given pages or all pages, combining these effects with existing Framer effects can create truly unique and attractive transitions.
Building Custom Transitions into Content Pages
Creating a custom transition is more interesting especially when opening specific pages, like a blog post for example. You can achieve this by selecting the parent page (a blog index page, in this case) and add a new page effect. Here you target the specific pages (blog pages) that you need transition effects for.
To differentiate these transitions, you can use a separate preset, like wipe left, and customize the effect by modifying the mask property. This control was specifically designed for Page Effects and encompasses a pool of functional masking options that can take your creative control to the next level. Customizing these masks is straightforward and you can adjust individual attributes to your preference.
Using Page Effects across Different Pages
Once you've mastered adding effects to a single page, it's time to apply these to multiple pages. Let's take the homepage for instance. Here, you can apply the All Pages effect that enables all your pages to have a subtle cross fade. Switching from a blog post back to the homepage, or vice versa, should give you a smooth transition with elegant cross fades. In this scenario, you can use a reciprocal effect in the parent page, pointing back to the blog index. The angle and width parameters can be adjusted equally to create a seamless flow.
Page effects make website navigation a visually pleasing experience. Whether it's a neat wipe effect from right to left, or vice versa, the transitions do all the talking. And the good news? These work for all posts, maintaining consistency in transitions.
Using Multiple Page Effects
When it comes to Page Effects, the possibilities are endless. With numerous effects to choose from - like circular masking, blinds, GIC masking and inset transitions - creating a visually stunning user experience becomes an achievable task. The success stories of the pages using these effects are testament to this.
Although these features are currently available in popular browsers like Chrome and Edge, they are not yet available in Safari or Firefox. But don't worry - this won't break your site in these browsers. Instead, these effects will simply revert to being instant, so you can consider it a form of progressive enhancement.
The power of Framer's Page Effects does not stop here. With constant updates on the horizon, the scope to create stunning website transitions is only expanding. Discover the potential of Page Effects, and watch your user interface transform!