BlinkDepositButton is a prebuilt, Blink-branded deposit button you can drop onto your page instead of designing your own. It renders a black pill with a bold “Deposit stablecoins” headline, an italic “In a Blink” subline, and overlapping USDC/USDT coin marks.
The React entry point requires
react >= 18 as a peer dependency. The component is self-contained — inline styles and data-URI icons, no CSS imports or extra dependencies.Usage
The button is presentation-only: it does not start a deposit by itself. WireonClick to requestDeposit from the React hook or the Deposit class.
Props
Sizing and styling
- The button fills the width of its container (
width: 100%) at a fixed 56px height. Control its size by sizing the wrapping element. - Branding is intentionally fixed (black pill, white label, USDC/USDT marks) so the button looks the same across every Blink merchant. It does not follow the
appearancetheme — that config themes the hosted deposit flow, not this trigger button. If you need a button that changes with your theme, build your own and wire it torequestDepositinstead — see Integrate the Deposit SDK. - Hover, press, disabled, and loading states are built in.