As an iOS developer, there are several exciting features and capabilities to explore within the platform. Among them, widgets stand out as a favorite for me. Widgets have become an integral part of the iOS and macOS experience, and with the latest capabilities introduced in SwiftUI, they are now even more powerful. In this article, we will explore how to bring widgets to life with interactivity and animations, making them more engaging and visually appealing. We will dive into the details of how animations work with widgets and showcase the new Xcode Preview API, which enables quick iteration and customization. Additionally, we will explore how to add interactivity to widgets using familiar controls like Button and Toggle, leveraging the power of App Intents. So let’s get started!