Imagine a tiny crystal that flips between two different magnetic states — and you can watch it happen with your own eyes, because the material changes color as it switches. That's exactly what researchers at the Indian Institute of Science in Bangalore have created, and it could one day lead to faster computers, smarter sensors, and better ways to capture harmful gases from the air.

Abhishek Mondal, a professor at IISc, and his team have spent years working on a thorny problem. Materials that can switch between magnetic and nonmagnetic states exist, but they only work at extremely cold temperatures — colder than -220°C, the kind of chill that requires expensive, energy-hungry cooling systems. That made them impractical for most real-world uses.

"Contemporary materials often operate only at ultra-low temperatures," explains Krishna Kaushik, a PhD student who co-led two new studies. "They are highly volatile and relax back to their ground state with even a slight rise in temperature."

Now, the IISc team has broken through that barrier. In research published in the journals Angewandte Chemie and Small, they designed a new type of porous crystal made from interlocking metal-organic layers. When the material switches its magnetic state, the change ripples through the entire structure like dominoes falling — a cooperative effect that makes the switching cleaner and more reliable. Critically, the transition happens at around 37°C, which is slightly warmer than typical room temperature.

The team also gave the material an elastic quality, so that when one atom shifts, it smoothly nudges its neighbors into changing too. "When each atom in this matrix switches spin states, its push against neighbors propagates seamlessly through the elastic lattice, prompting a domino effect," Mondal says.

The color-changing bonus is more than just eye candy. Because the switch from one magnetic state to another also shifts the crystal's hue — from, say, purple to pink — engineers could track the transformation simply by looking at it. No complex instruments needed.

The researchers are already thinking ahead. They want to use these materials to build smart sensors that detect industrially important gases like methane and carbon monoxide. Mondal says the team is "currently working on scaling up the complex to design smart gas-capture sensors that can selectively adsorb industrially critical gases with supreme sensitivity."

Beyond sensors, these switchable materials could eventually serve as building blocks for quantum computers, which process information in ways that classical computers cannot. Because the materials can flip back and forth between two states reversibly, they behave like tiny molecular on-off switches — exactly the kind of component that quantum devices need.

The work brings scientists one step closer to devices that work at ordinary temperatures instead of requiring extreme cold. And that could make a real difference — in hospitals, factories, and maybe someday in the phone in your pocket.