import SwiftUI struct BikeView: View { static var title = "Bike" static var image = "bicycle" var bike = Bike(name: "Fahrrad", price: 11.31, color: Color.cyan) var body: some View { VStack{ Label(bike.name, systemImage: "bicycle") .foregroundStyle(.white) .padding(5) .background(bike.color) } } } #Preview { BikeView() }