title: SwiftUI - Catalyst translucent sidebar
body: <p>Goal is to make a translucent sidebar on Mac Catalyst.</p>
  <p>The code bellow gives a not translucent sidebar (image 1).</p>
  <p>On Mac (not catalyst) the sidebar looks fine (image 2).</p>
  <p>is it possible to have a translucent sidebar on Mac Catalyst?</p>
  <p><a href="https://i.stack.imgur.com/70T2R.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/70T2R.jpg" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/sE2se.png" rel="noreferrer"><img src="https://i.stack.imgur.com/sE2se.png" alt="enter image description here" /></a></p>
  <pre><code>import SwiftUI
  
  struct ContentView: View {
      var body: some View {
          
          NavigationView {
              
              //sidebar
              List {
                  Label(&quot;Books&quot;, systemImage: &quot;book.closed&quot;)
                  Label(&quot;Tutorials&quot;, systemImage: &quot;list.bullet.rectangle&quot;)
           
              }
              .background(Color.clear)
  
              .listStyle(SidebarListStyle())
              
              //content
              Text(&quot;Sidebar&quot;)
              .navigationTitle(&quot;Sidebar&quot;)
          }
          
          
      }
  }
  </code></pre>