Skip to content

Widget options

You can set the widget’s options in two ways. Both work on the same script.

Data attributes on the script tag:

<script
src="https://feedzzie.com/widget.js"
data-org="your-org"
data-project="your-project"
data-position="bottom-left"
data-button-color="#6366f1"
data-button-icon="chat"
data-button-text="Ideas"
data-theme="auto"
data-z-index="9999"
></script>

A window.Feedzzie object, defined before the script:

<script>
window.Feedzzie = {
org: 'your-org',
project: 'your-project',
position: 'bottom-left',
buttonColor: '#6366f1',
buttonIcon: 'chat',
buttonText: 'Ideas',
theme: 'auto',
zIndex: 9999,
}
</script>
<script src="https://feedzzie.com/widget.js"></script>
Data attribute window.Feedzzie Values Default
data-org org Your organization’s slug. Required
data-project project The slug of the project whose board the widget shows The default project
data-position position bottom-right, bottom-left, top-right, top-left Widget Position in the dashboard, else bottom-right
data-button-color buttonColor Any CSS color Primary Color in the dashboard, else #6366f1
data-button-icon buttonIcon lightbulb, chat, feedback lightbulb
data-button-text buttonText The button’s text Button Text in the dashboard, else Feedback
data-theme theme light, dark, auto auto
data-z-index zIndex A number, the CSS z-index of the button and the panel 9999

A value that is not in the list (for example data-button-icon="rocket") is ignored, and the next source applies.

For each option, the widget takes the first value it finds:

  1. window.Feedzzie;
  2. the data attributes;
  3. the dashboard’s Settings › Widget (position, primary color and button text);
  4. the defaults above.

So the snippet always wins over the dashboard. Leave an option out of the snippet to control it from the dashboard.

The board inside the panel follows the visitor’s system setting, light or dark. theme (light, dark, or auto to follow the system too) only sets the panel’s own background, which shows while the board loads.

The widget is in English for now, whatever the language of your site or of the visitor.