Sets the opacity for this view, with 0 being completely transparent and 1 being completely opaque.
.opacity(value: number): Component;
Text("Semi-transparent text") .opacity(0.5)
Rectangle() .fill(Color("red")) .opacity(0)