Skip to main content

MaestroPanel

MaestroKit provides a suite of SwiftUI components that make integrating rich UI elements seamless. In this chapter, we’ll walk through how to instantiate and use the MaestroPanel component, a key building block that aggregates the channel’s panel components.

MaestroPanel is a class that provides a panel view for you to add to your app's view heirarchy.

struct MaestroPanel: View

Parameters

  • width: An optional CGFloat defining the width of the panel.

Sample Usage

struct ContentView: View {
var body: some View {
MaestroPanel(
width: 568
)
}
}