Prerequisites
Before using the Button Widget, make sure you’ve installed the Widgets library.Quick Setup
The fastest way to add a button widget is through the Givebutter Dashboard:- Visit your Givebutter Dashboard
- Select your campaign and navigate to Sharing > Widgets
- Choose Button as the widget type and customize the appearance
- Copy the generated code and paste it on your site
Manual Setup
For full control without using the dashboard, create buttons directly with the<givebutter-button> tag:
Configuration Options
Customize your button’s appearance by adding attributes to the<givebutter-button> element:
Required Attributes
Styling Attributes
Positioning
Use these attributes to create a fixed-position floating button:Examples
Troubleshooting
Color not working? Hex codes must include the
# symbol (e.g., #FF8A00 not FF8A00).