sidiora-labs

Morph Confirm

Buttons 9

About

A button that morphs in place into an inline confirmation card with a cancel/confirm action, for destructive or sensitive actions that need a quick inline double-check.

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

Code

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

Usage.tsx

import { MorphConfirm } from "@/components/ui/morph-confirm";
import { FingerprintIcon } from "lucide-react";
import { Toaster, toast } from "sonner";

export default function MorphConfirmDemo() {
  return (
    <div className="flex h-72 w-full items-end justify-center pb-6">
      <Toaster position="top-center" />
      <MorphConfirm
        label="Receive"
        title="Confirm"
        icon={<FingerprintIcon className="text-[var(--dx-blue-3)]" />}
        description="Approve this transfer of 2.4 ETH to your main wallet?"
        onConfirm={() => toast.success("Transfer approved")}
      />
    </div>
  );
}

Dependencies

More by sidiora-labs

View all
  • Icon Accordion

    Icon Accordion

    23
  • Expandable Tabs

    Expandable Tabs

    19
  • Auth Drawer

    Auth Drawer

    19
  • Color List

    Color List

    18
  • Preview Rail

    Preview Rail

    16
  • Swipeable List

    Swipeable List

    11
  • Tilt Card

    Tilt Card

    11
  • Wave Slider

    Wave Slider

    9

More in Buttons

View all
  • Button

    Button

    20
  • Button

    Button

    3
  • Button Group

    Button Group

    18
  • Button

    Button

    149
  • Icon Label Subtext Button

    Icon Label Subtext Button

    69
  • Button

    Button

    9
  • Button

    Button

    37
  • Texture Button

    Texture Button

    113