Motion+

iOS Notifications stack

A iOS inspired notifications stack using Motion for React's variants.

Time
5 min
Difficulty
Intermediate
Access
Motion+
>Live exampleOpen in new tab

Introduction

The iOS Notifications Stack example shows how to create an expandable stack of notification cards with smooth spring animations. When collapsed, the notifications are stacked on top of each other with a subtle scaling effect. When expanded, they spread out for better visibility, with a header appearing at the top.

In this tutorial, we'll learn to use several Motion for React APIs to create this effect: