← Back to examples
React · @bannerflex/react
Newsletter & lead capture
Grow your list with a low-friction signup. Track conversions with a custom metric in the dashboard and A/B test copy and timing.
Try it
Live demo — click the button to open the popup.
Code
Copy this code into your React or Next.js app. You'll need a Banner ID and Campaign ID from the dashboard.
import { BannerFlexProvider, BannerFlexPopup } from '@bannerflex/react';
function App() {
return (
<BannerFlexProvider baseUrl="https://www.bannerflex.app">
{/* ...popup code template... */}
</BannerFlexProvider>
);
}Loading code…
Subscribers can copy code from the dashboard and keep all templates in sync with new updates. View pricing.