About
An interactive isometric SVG figure of a torch mounted in a stone block, with a flickering flame and light ring that can be clicked to snuff out in a puff of smoke or relit.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Torch to your project and fits it to your theme.
Code
How Torch is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Torch } from "@/components/ui/torch";
export default function TorchDemo() {
return (
<div className="flex min-h-[400px] w-full items-center justify-center bg-background p-10 text-foreground">
<Torch intensity={0.6} className="w-full max-w-md" />
</div>
);
}








