A new phase-change material polarizer switches light states via heat and retains its structure without continuous power, replacing bulky mechanical rotators for faster optical communications.