import React from "react";
export default function Embed() {
return (
{/* Auto-inject demo script */}
);
}
Embeddable Widget Code
Copy and paste this code into your website to add the Custom Cornhole Builder button.
{/* Widget code */}
{/* Instructions */}
{/* Live demo */}
{/* Customization tips */}
📋 Step 1: Copy This Code
{`
`}
🚀 Step 2: Add to Your Website
Option A: In a specific location
Add this div where you want the button to appear:
<div id="tlg-builder-widget"></div>
Then paste the script code right after it
Option B: Floating button
Just paste the script anywhere in your HTML — the button will append to the page automatically
👀 Preview
🎨 Customization
Button text: Change btn.innerHTML
Button style: Modify btn.style.cssText
Modal size: Change max-width: 1200px and height: 90vh