Quick Customization
All customization is done through HTML data attributes on the script tag:Available Options
Button Color
Customize the button’s background color using any valid hex color code.Example:The widget automatically:
- Generates a darker shade for hover states
- Creates matching focus ring colors
- Ensures text remains readable (white text on colored background)
Button Position
Control where the feedback button appears on your page and its layout style.Options:
bottom-right- Horizontal button with icon and text in the bottom-right corner (default)right-side- Vertical text-only button on the right edge, centered verticallyicon-only- Compact round icon-only button in the bottom-right corner
The
icon-only position is perfect for minimalist designs or when you want the button to be subtle and non-intrusive. The right-side position works well when you have other floating elements in the bottom-right corner.Language
Set the interface language for the feedback widget.Supported languages:If not specified, the widget auto-detects the user’s browser language and falls back to English if unsupported.
en- English (default)de- Germansv- Swedish
Multi-language support
Learn more about internationalization and available translations
API URL (Advanced)
Override the API endpoint for self-hosted or staging environments.Example:
Version Tracking
Track feedback against specific application versions to correlate issues with releases.Example:Use cases:
- Identify bugs introduced in specific versions
- Track feature adoption and user response across releases
- Prioritize fixes for versions with the most feedback
- Correlate feedback trends with deployment history
1.2.3, v2.0.0-beta, 2024.11.1)Branding Control
Show or hide the “Powered by SeggWat” label in the feedback modal footer.Example:When to hide:
- White-label implementations for your clients
- Maintaining a strict brand consistency
- Custom enterprise deployments
- When UI real estate is critical
false, 0, or no to hide the branding.The branding helps support the development of SeggWat, but we understand some use cases require complete brand control.
Common Configurations
Match Your Brand
Choose colors that align with your brand identity:Popular Framework Colors
Match your favorite framework or library:| Framework | Color | Code |
|---|---|---|
| React | React Blue | #61dafb |
| Vue | Vue Green | #42b883 |
| Angular | Angular Red | #dd0031 |
| Svelte | Svelte Orange | #ff3e00 |
| Next.js | Next Black | #000000 |
| Tailwind CSS | Tailwind Teal | #06b6d4 |
Vertical Side Button
Perfect for minimalist designs or full-width layouts:Icon-Only (Compact & Minimal)
The most subtle option - a round button with just the chat icon:International Audience
Set a specific language for your primary audience:- German
- Swedish
- Auto-Detect
White-Label Setup
Remove SeggWat branding for white-label deployments or strict brand requirements:- Agency projects where you’re providing feedback solutions to clients
- Enterprise deployments with strict branding policies
- Products where every element must match your brand identity
- SaaS platforms offering feedback as a feature
Dynamic Customization
Update the button’s appearance after the page loads using JavaScript:Change Color
Change Position
Change Language
Update Multiple Properties
Theme Switcher Example
Synchronize the button with your app’s theme:User Preference Example
Let users customize the button position:Advanced Techniques
Automated Version Injection
Inject your app version automatically during the build process:- Environment Variable
- Webpack
- Vite
- Next.js
__APP_VERSION__ with the actual version from package.json.Automating version injection ensures every deployment captures the correct version without manual updates. This is crucial for correlating feedback with releases.
Git Commit Hash as Version
For continuous deployment, use git commit hashes:Version-Based Feedback Routing
Show different feedback buttons for different versions:Conditional Rendering
Show the button only on specific pages:A/B Testing Colors
Test which color gets more engagement:Hide on Specific Pages
Mobile vs Desktop Positioning
Color Picker
Not sure which color to use? Try these curated palettes:Neutral Colors
- Slate:
#64748b- Professional and subtle - Gray:
#6b7280- Clean and modern - Zinc:
#71717a- Contemporary and sleek - Stone:
#78716c- Warm and grounded
Vibrant Colors
- Red:
#ef4444- Urgent and attention-grabbing - Orange:
#f97316- Energetic and friendly - Yellow:
#eab308- Bright and optimistic - Green:
#10b981- Positive and calming - Blue:
#3b82f6- Trustworthy and professional - Indigo:
#6366f1- Modern and sophisticated - Purple:
#a855f7- Creative and unique - Pink:
#ec4899- Playful and approachable
Dark Mode Friendly
- Light Gray:
#f3f4f6- Works well on dark backgrounds - Light Blue:
#93c5fd- Soft and visible - Light Green:
#86efac- Fresh and modern
Best Practices
Match your brand
Use your brand’s primary or accent color to make the button feel integrated with your design.
Consider accessibility
Ensure the button is visible and accessible. Avoid colors that blend into your background.
Test on mobile
Check how the button looks and feels on mobile devices. The position may need adjustment.
Respect user preferences
If your app has a theme switcher, update the button color to match the active theme.
Keep it consistent
Once you choose a position and color, stick with it. Consistency improves user experience.
Monitor engagement
Track how many users click the button. If engagement is low, try a different color or position.
Troubleshooting
Button not visible on my site
Button not visible on my site
Color not updating
Color not updating
Common causes:
- Browser caching the CSS
- Invalid hex color format (missing
#) - Timing issue (trying to update before widget loads)
Position overlaps with my content
Position overlaps with my content
Solutions:
- Try the alternate position (
right-side↔bottom-right) - Hide the button on specific pages
- Adjust your layout to accommodate the button
- Use custom CSS to fine-tune positioning:
Button too small/large on mobile
Button too small/large on mobile
Complete Example
Here’s a fully customized setup with all options:Next Steps
Widget Installation
Learn how to install the feedback widget on your site
Internationalization
Configure multi-language support for global audiences
React Integration
See how to customize the widget in React applications
API Reference
Build custom integrations with the SeggWat API
Need more customization options? Let us know at [email protected]. We’re always adding new features based on user feedback!