struct ContentView: View {
   @State private var showInfo = false

   var body: some View {
      VStack {
         Button("Show Information") {
            withAnimation {
               showInfo.toggle()
            }
         }.padding()
         .buttonStyle(.glassProminent)

         if showInfo {
            Text("This is the information")
               .transition(.offset(x: 400, y: 0))
         }
         Spacer()
      }
   }
}