SwiftUI Label : Hide/Show components

LabelStyle have predefined enum to show different components of Label:

struct LabelExample1: View {
    var body: some View {
        VStack {
            Label("DevTechie", systemImage: "heart.fill")
            .labelStyle(.iconOnly)
            .foregroundColor(.orange)
            
            Label("DevTechie", systemImage: "heart.fill")
                .labelStyle(.titleAndIcon)
                .foregroundColor(.blue)
            
            Label("DevTechie", systemImage: "heart.fill")
                .labelStyle(.titleOnly)
                .foregroundColor(.green)
            
            Label("DevTechie", systemImage: "heart.fill")
            .labelStyle(.automatic)
            .foregroundColor(.purple)
            
        }.font(.largeTitle)
    }
}

Output: