I am trying to create a customizable NavigationSplitView with a title and a fully customizable sidebar in SwiftUI, similar to the one shown in this sidebar example:
Problem
I am struggling to reproduce the sidebar as shown in the reference image. Instead, my implementation only looks like this:
Goal
I want to create a sidebar that allows for full customization, including the use of ScrollView instead of List, and with a navigation title.
Expected Result
A fully customizable sidebar with a title that matches the reference image.
Actual Result
The sidebar is not fully customizable and does not resemble the reference image.
What I’ve Tried
Using ScrollView in the sidebar instead of List.
Trying different approaches with List.