
Bottom Toolbar
From syxUI — written for both platforms, not translated between them.
A bottom toolbar of edit actions.
Navigation · SwiftUI · iOS 17
- navigation
- swiftui
The actual source
BottomToolbar.swift
// Bottom Toolbar · syxUI · https://syxui.dev/components/nav2-toolbar
// Free in any project. Keep this line and credit syxUI where a person can read it.
import SwiftUI
let navBlue = Color(red: 0.0, green: 0.47, blue: 1.0)
// Bottom edit toolbar
struct BottomToolbar: View {
let tools = [("square.and.arrow.up", "Share"), ("folder", "Move"), ("trash", "Delete"), ("ellipsis.circle", "More")]
var body: some View {
HStack(spacing: 0) {
ForEach(Array(tools.enumerated()), id: \.offset) { _, t in
VStack(spacing: 4) { Image(systemName: t.0).font(.system(size: 19)); Text(t.1).font(.system(size: 10)) }.foregroundStyle(t.0 == "trash" ? .red : navBlue).frame(maxWidth: .infinity)
}
}.padding(.top, 10).padding(.bottom, 8).overlay(alignment: .top) { Divider() }.frame(width: 340)
}
}
iOS 17 · No dependencies
Dependencies
- SwiftUI
- No external dependencies
Requires iOS 17


