Introduction
The Preview annotation helps you see how your UI looks without running the app on a device. It saves time by showing a quick picture of your screen design.
When you want to check how a screen or component looks while coding.
When you want to quickly test different UI styles or themes.
When you want to share your UI design with teammates without running the app.
When you want to catch layout mistakes early before running the app.