Guest User

Untitled

a guest
Jan 26th, 2026
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 3.52 KB | None | 0 0
  1. VStack(alignment: .leading) {
  2.                     Text("Add new")
  3.                         .font(.headline)
  4.                         .padding(8)
  5.  
  6.                     HStack {
  7.                         Button {
  8.  
  9.                         } label: {
  10.                             VStack {
  11.                                 Image(systemName: "rectangle.stack.fill")
  12.                                     .imageScale(.large)
  13.                                     .foregroundStyle(.red   )
  14.                                 Spacer()
  15.                                 Text("Flipbook")
  16.                             }
  17.                             .frame(height: 40)
  18.                             .padding(.vertical, 8)
  19.                         }
  20.  
  21.                         Button {
  22.  
  23.                         } label: {
  24.                             VStack {
  25.                                 Image(systemName: "pencil.and.outline")
  26.                                     .imageScale(.large)
  27.                                     .foregroundStyle(.red   )
  28.                                 Spacer()
  29.                                 Text("Drawing")
  30.                             }
  31.                             .frame(height: 40)
  32.                             .padding(.vertical, 8)
  33.                         }
  34.  
  35.                         Button {
  36.  
  37.                         } label: {
  38.                             VStack {
  39.                                 Image(systemName: "character.textbox")
  40.                                     .imageScale(.large)
  41.                                     .foregroundStyle(.red   )
  42.                                 Spacer()
  43.                                 Text("Text")
  44.                             }
  45.                             .frame(height: 40)
  46.                             .padding(.vertical, 8)
  47.                         }
  48.  
  49.                         Button {
  50.  
  51.                         } label: {
  52.                             VStack {
  53.                                 Image(systemName: "rectangle.stack.fill")
  54.                                     .imageScale(.large)
  55.                                     .foregroundStyle(.red   )
  56.                                 Spacer()
  57.                                 Text("Track")
  58.                             }
  59.                             .frame(height: 40)
  60.                             .padding(.vertical, 8)
  61.                         }
  62.                     }
  63.                     .buttonStyle(.bordered)
  64.                     .tint(.secondary)
  65.                     .buttonBorderShape(.roundedRectangle(radius: 16))
  66.                     .buttonSizing(.flexible)
  67.  
  68.                     VStack(spacing: 1) {
  69.                         Group {
  70.                             LabeledContent("Photo") {
  71.                                 Image(systemName: "photo")
  72.                             }
  73.                             LabeledContent("Video") {
  74.                                 Image(systemName: "film")
  75.                             }
  76.                             LabeledContent("File") {
  77.                                 Image(systemName: "folder")
  78.                             }
  79.                         }
  80.                         .padding(.horizontal)
  81.                         .padding(.vertical, 12)
  82.                         .background(Color.secondary.opacity(0.1))
  83.                     }
  84.                     .clipShape(.rect(cornerRadius: 24))
  85.                 }
  86.                 .font(.footnote)
  87.                 .padding(10)
  88.                 .glassEffect(.regular, in: .rect(cornerRadius: 32))
  89.                 .clipShape(.rect(cornerRadius: 32))
Advertisement
Add Comment
Please, Sign In to add comment