
A live demo for Coinbase's stablecoin payment web component: restyle with CSS variables, watch the event API, and run an end-to-end payment with zero real funds.
The Hook
“Hey everyone, I'm excited to show you a live demo of Coinbase's new stablecoin payment web component. We've built a playground environment that lets you test out the API, customize the branding, and watch the event logs, all in a sandbox mode with zero real funds.”
Feature Teaser
“Let's start by customizing the component. We can change the theme using CSS variables. Here, you can see how easy it is to switch between different presets like 'Dark Retro' or 'Wildflower', or even pick custom colors for your brand, surface, and text. You can also adjust button shapes and fonts.”
Feature Teaser
“Next, let's look at the event API. As you interact with the component, you can see all the events being logged here. This allows you to subscribe to and handle events in your application, giving you full control over the payment flow.”
Product Reveal
“Finally, let's run an end-to-end payment. I'll select Phantom wallet, connect, and confirm the transaction. You can see the events being logged in real-time. And just like that, your payment of one USDC was successful. This entire process happens in a sandbox, so no real funds are involved. It's a safe and easy way to integrate stablecoin payments into your application.”
Synthesizable in Remotion · key components of the developer-tool-sandbox-demo template.
A live video feed of the presenter is contained within a perfectly circular mask, positioned consistently in the bottom-left quadrant of the screen. This overlay maintains a fixed size and position throughout the video.
Use a Remotion <AbsoluteFill> for the main screen recording. Overlay a <Video> component for the presenter, apply a `borderRadius: '50%'` style for the circular mask, and position it using `left` and `bottom` CSS properties. Ensure `overflow: 'hidden'` on the container.
UI panels, such as the 'Theme' customization or 'Events' log, slide smoothly into view from the left edge of the screen, pushing the existing content slightly or resizing the main demo area. They recede just as smoothly when no longer needed.
Implement using Remotion's `interpolate` function for the `transform: translateX()` CSS property. Animate from `'-100%'` to `'0%'` for entry and `0%` to `'-100%'` for exit, using an `easeOutCubic` or `easeInOutQuad` curve for smooth transitions. Coordinate with `width` or `flex-basis` changes for responsive layout.
New entries in the 'Events' log appear dynamically, animating in from the bottom of the log panel with a subtle fade-in and upward translation, simulating real-time data streaming.
For each new log entry, render a component that uses `spring` or `interpolate` for `opacity` from `0` to `1` and `transform: translateY()` from `10px` to `0px`. Trigger this animation when a new event object is added to the state, ensuring a staggered effect for multiple entries.
Purpose. Introduce the product and immediately establish its core value proposition: a safe, no-risk environment for developers to experiment.
Execution. Presenter introduces the component while the main screen shows the payment UI. The circular presenter overlay establishes a personal, direct connection.
Purpose. Demonstrate the flexibility and developer-friendliness of the component, highlighting how easily it can be integrated and branded.
Execution. UI panels slide in to reveal CSS variable customization options, with the payment component dynamically updating in real-time. This shows immediate visual feedback.
Purpose. Showcase the robust API and event logging, assuring developers of deep control and visibility into the payment process.
Execution. The 'Events' log panel appears, populating with real-time data as the presenter interacts with the payment component, emphasizing the API's responsiveness.
Purpose. Conclude with a complete, end-to-end demonstration, reinforcing the product's functionality and the sandbox's utility.
Execution. A full payment simulation, from wallet selection to success confirmation, is shown, with concurrent event logging. This provides a comprehensive proof of concept.