Back to Components
|

DonateButton

DonateButton

Accept Bitcoin donations with customizable preset amounts, QR codes, and a beautiful donation interface

🔧

Live preview would be rendered here

Component: DonateButton

Install component

npm
$npm install bigblocks
import { DonateButton } from 'bigblocks';

export default function SupportSection() {
  return (
    <DonateButton
      donationAddress="1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa"
      onDonate={(amount, txid) => {
        console.log(`Received ${amount} satoshis! TX: ${txid}`);
      }}
    />
  );
}