Custom UI code example.