abhishek-mallick

Torch

Component

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>
  );
}

More by abhishek-mallick

View all
  • Isometric Bars Chart

    Isometric Bars Chart

    13
  • Keys

    Keys

    8
  • Rack

    Rack

    7
  • Isometric Laptop

    Isometric Laptop

    6
  • Nodes

    Nodes

    5
  • Stack

    Stack

    5
  • Isometric Cube

    Isometric Cube

    5
  • Skyline

    Skyline

    4