title: In SwiftUI how can I animate a button offset when displayed
body: <p>In SwiftUI, I want a button to appear from off screen by dropping in from the top into a final position when the view is initially displayed, I'm not asking for animation when the button is pressed.</p>
  
  <p>I have tried:</p>
  
  <pre><code>Button(action: {}) {
      Text("Button")
  }.offset(x: 0.0, y: 100.0).animation(.basic(duration: 5))
  </code></pre>
  
  <p>but no joy.</p>