Shubham0812 / HabitTracker_UI

Habits and Goal Tracker application using the SwiftUI Framework
Apache License 2.0
59 stars 26 forks source link

Create onboarding button #9

Closed clarkeben closed 3 years ago

clarkeben commented 3 years ago

Requirement

The onboarding UI contains a button. The button is square and has an outer ring to inform users of how far they are within the onboarding flow. This button will need to be created as a reusable view so that it can be used across all three onboarding views.

image

Please refer to the Figma file for additional details.

Proposed Solution

SwiftUI does not contain a built-in square. Nonetheless, a rounded rectangle could be used instead and the frame height and width could be modified.