title: Swiftui Side Menu button action
body: <p>I would like to create a side menu i did but i don't know how to add a button actions that take me to new view , <br>this is an example about what i want :
  <br>Profile button to Profile view
  <br>Messages to Message view,
  <br>Setting to Setting view
  <br>3 different views 
  <br>This is my Side Menu Code</p>
  
  <pre><code>var body: some View {
              VStack(alignment: .leading) {
                  HStack {
                      Image(systemName: "person")
                          .foregroundColor(.gray)
                          .imageScale(.large)
                      Text("Profile")
                          .foregroundColor(.gray)
                          .font(.headline)
                  }
                  .padding(.top, 100)
                  HStack {
                      Image(systemName: "envelope")
                          .foregroundColor(.gray)
                          .imageScale(.large)
                      Text("Messages")
                          .foregroundColor(.gray)
                          .font(.headline)
                  }
                      .padding(.top, 30)
                  HStack {
                      Image(systemName: "gear")
                          .foregroundColor(.gray)
                          .imageScale(.large)
                      Text("Settings")
                          .foregroundColor(.gray)
                          .font(.headline)
                  }
                  .padding(.top, 30)
                  Spacer()
              }
                  .padding()
                  .frame(maxWidth: .infinity, alignment: .leading)
                  .background(Color(red: 32/255, green: 32/255, blue: 32/255))
                  .edgesIgnoringSafeArea(.all)
          }
      }
  </code></pre>
  
  <p>thank you</p>