Widget Configuration

Customize the widget appearance and behavior.

Configuration options

Pass options to the init method:

1window.uj.init('YOUR_PROJECT_ID', {
2 widget: true, // Show floating button
3 position: 'right', // 'left' or 'right'
4 theme: 'auto', // 'light', 'dark', or 'auto'
5});

Theming

The widget automatically matches your feedback board's branding, including your primary color and theme settings.

Set theme: 'auto' to follow the user's system preference, or explicitly use 'light' or 'dark'.

Positioning

By default, the widget appears in the bottom-right corner. Use position: 'left' to move it to the bottom-left.

For full control over the trigger, set widget: false and use custom triggers instead.