Skip to content

Value Widget

Show a channel KV value that updates live.

  1. Open the Synchra Dashboard.
  2. Go to Widgets.
  3. Create a Value widget, or choose the Death Counter preset.
  4. Select the KV key to display.
  5. Set the label and fallback value.
  6. Click Widget URL and add it to OBS as a Browser Source.

The Death Counter preset displays the deaths command counter. Use Count variables to update, reset or read it from chat commands.

The fallback is shown when the key is missing, expired or null.

CSS order: built-in CSS, Theme CSS, then Widget CSS.

<section class="value-widget">
  <span class="value-widget__label">Deaths</span>
  <span class="value-widget__value">5</span>
</section>
ClassDescription
.value-widgetRoot container.
.value-widget__labelOptional label text.
.value-widget__valueKV value or fallback.
VariableControls
--value-widget-label-colorLabel color.
--value-widget-value-colorValue color.
--value-widget-background-colorBackground color.
--value-widget-border-colorBorder color.
--value-widget-border-widthBorder width.
--value-widget-border-radiusCorner radius.
--value-widget-paddingInner spacing.
--value-widget-gapSpace between label and value.
--value-widget-label-font-familyLabel font.
--value-widget-value-font-familyValue font.
--value-widget-label-font-sizeLabel size.
--value-widget-value-font-sizeValue size.
--value-widget-min-widthMinimum width.
--value-widget-max-widthMaximum width.

Get a font import, then:

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

.value-widget {
  --value-widget-label-font-family: "Roboto", sans-serif;
  --value-widget-value-font-family: "Roboto", sans-serif;
}