An international team of scientists was first to demonstrate that halide perovskites can serve as a base for nonlinear on-chip optical components. As an example, they can be used to build ultrafast optical chips and transistors, and, potentially, other integrated optical systems.