How to rotate custom materials

Hello, in custom cabinets and wardrobes, material rotation can be done using the following method:

Cabinet Material: Left-click to select a single cabinet with the mouse – Material – Rotate to the side.