Check out example codes for "remove padding hstack swiftui". It will help you in understanding the concepts better.

Code Example 1

VStack(alignment: .leading) {
                Text("How to enjoy your life without money").bold().font(.system(size: 20))
                HStack (alignment: .center, spacing: 0, content: {
                    Text("Lets create")
                    Text("3K views")
                    Text("3 hours ago")
                })
            }

Learn ReactJs, React Native from akashmittal.com