About
An animated SVG relay diagram showing an energized coil pulling a hinged armature to switch one or two contact sets, drawn from plan, front, profile or isometric camera views.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Electromagnetic Relay to your project and fits it to your theme.
Code
How Electromagnetic Relay is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import ElectromagneticRelay from "@/components/ui/electromagnetic-relay";
export default function ElectromagneticRelayDemo() {
return (
<div className="flex min-h-[400px] w-full items-center justify-center bg-background p-10">
<ElectromagneticRelay behavior="switch" poles={2} view="iso" />
</div>
);
}








