abhishek-mallick

Isometric Heart

Component

About

An interactive isometric heart figure, drawn and animated in SVG, that beats faster on hover and fills with a cube burst when clicked to "like" it.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Isometric Heart to your project and fits it to your theme.

Code

How Isometric Heart is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import * as React from "react";

import Heart from "@/components/ui/heart";

export default function HeartDemo() {
  const [liked, setLiked] = React.useState(false);

  return (
    <div className="flex w-full items-center justify-center bg-background p-10">
      <div className="w-full max-w-[420px]">
        <Heart liked={liked} onActivate={() => setLiked(!liked)} />
      </div>
    </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