Skip to content

Goal Widget

The Goal Widget shows a live progress bar in OBS and other tools that support browser sources. Use it for sub goals, donation goals, follower goals, bit goals or mixed goals where several activity types should count together towards a common goal.

You define how much each activity type adds to the goal. Other currencies will be converted into your preferred one using today’s rates.

  1. Open the Synchra Dashboard.
  2. Go to Widgets.
  3. Create a Goal widget.
  4. Enter a title, target, base amount and start date.
  5. Pick Points or Currency display.
  6. Select which sources should count toward the goal.
  7. Click Widget URL and copy the URL.
  8. Add it to OBS as a Browser Source.
Goal Widget Editor

You can customize the title, target, base amount, display mode, unit, currency, dates, sources, multipliers, colors, font, bar size, border and visibility settings.

The Goal Widget can be styled using custom CSS.

CSS Classes
ClassDescription
.goal-widgetMain goal widget container.
.goal-widget--disabledApplied when the widget is disabled.
.goal-widget__headerHeader row containing title and percentage.
.goal-widget__titleGoal title.
.goal-widget__percentagePercentage text.
.goal-widget__barProgress bar track.
.goal-widget__fillProgress bar fill.
.goal-widget__metaBottom row containing value and deadline.
.goal-widget__valueCurrent and target value text.
.goal-widget__deadlineCountdown text.
CSS Variables
VariableDescription
--goal-widget-text-colorMain text color.
--goal-widget-secondary-text-colorValue and deadline text color.
--goal-widget-background-colorWidget background.
--goal-widget-border-colorWidget border color.
--goal-widget-track-colorProgress bar track color.
--goal-widget-fill-colorProgress fill color before completion.
--goal-widget-accent-colorPercentage color.
--goal-widget-complete-colorProgress fill color after completion.
--goal-widget-border-widthWidget border width.
--goal-widget-border-radiusWidget and bar corner radius.
--goal-widget-bar-heightProgress bar height.
--goal-widget-font-familyWidget font family.
--goal-widget-font-sizeBase font size.
--goal-widget-max-widthMaximum widget width.
--goal-widget-progressCurrent progress percentage.
.goal-widget {
  --goal-widget-bar-height: 28px;
  padding: 16px 20px;
}

.goal-widget__fill {
  box-shadow: 0 0 18px var(--goal-widget-fill-color);
}