A custom geometry to use different values for viewport and render modes, can be used with any other node. It takes 2 inputs and outputs one of them. If you're in viewport mode, the node will output the first input value, if you're in render mode it will output the second.