coinkraft.io

Embeddable widgets

Drop one bundle into any HTML page (under 30 KB gzipped) and use the custom elements declaratively. The full configurator playground ships with the dashboard's Integration tab.

<script src="https://coinkraft.io/widgets/coinkraft.iife.js"></script>

<coinkraft-payments-button
  account="apr-…"
  currency="btc"
  amount="0.005"
  label="Pay with Bitcoin"
></coinkraft-payments-button>
Payments Form
<coinkraft-payments-form>

One-page form: pickup amount, customer info, generate invoice.

Payments Button
<coinkraft-payments-button>

Single CTA → opens hosted invoice. Pre-set or customer-set amount.

Mini Cart
<coinkraft-mini-cart>

Multi-line cart for static-site builders (Squarespace, Tilda, Webflow).

Donation Widget
<coinkraft-donation-widget>

Sidebar/embedded donation card with preset amounts.

Full configurator playgrounds (with live preview + copy-to-clipboard code) are coming next — track /docs#widgets.