Skip to main content

Counter — converter mapping

Source countercounter. This page shows the recognizer rule and every option on the shortcode, with how the converter fills it — so you can see at a glance which options are mapped, which are reproduced via CSS, and which are left for manual editing.

Recognizer

Priority50
Recognizercounter
Matches whenA big animated stat — a number (often with a prefix/suffix like $ or %) shown as a "count-up" figure with a small label.
Becomescounter
Recognizer block shape{ number, start, prefix, suffix, decimals, align, numberWeight, numberSize, numberColor, prefixSize, suffixSize, … }
FallbackDegrades to code_block.

One of the best-mapped elements: the number, start, prefix, suffix, decimals and alignment map natively, and the number/prefix/suffix typography (weight + size) and colours are carried from the source too. Only the animation timing (duration, easing, separator) is left at defaults.

Option coverage

12/17 options mapped natively (71%) — 🟡 0 via CSS · ⚠️ 1 gap (derivable, not yet) · ⚪ 4 default · ⚙️ 1 auto.

1 derivable gap

The ⚠️ rows below are options a source realistically expresses that the converter doesn't derive yet — the real to-do list for improving this element's fidelity. The ⚪ default rows are intentional (no reliable signal, or a UnysonPlus-specific choice).

OptionTabTypeStatusMapped from / note
numberContenttext✅ Nativeset from c.number
startContenttext✅ Nativeset from c.start
prefixContenttext✅ Nativeset from c.prefix
suffixContenttext✅ Nativeset from c.suffix
decimalsContentselect✅ Nativeset from c.decimals
separatorContentselect⚠️ Gapthousands separator present in source number text detectable; mapper hardcodes 'yes'
durationContenttext⚪ Unmappedanimation timing; hardcoded '2000', no source signal
easingContentselect⚪ Unmappedhardcoded 'ease-out'
alignmentStyleimage-picker✅ Nativeset from c.align (center/right)
number_fontStyletypography✅ Nativeset from captured numberWeight/numberSize
number_colorStylepredefined-colors-color-picker-compact✅ Nativeset from captured numberColor
prefix_fontStyletypography✅ Nativeset from captured numberWeight/prefixSize
prefix_colorStylepredefined-colors-color-picker-compact✅ Nativeset from captured prefixColor
suffix_fontStyletypography✅ Nativeset from captured suffixWeight/suffixSize
suffix_colorStylepredefined-colors-color-picker-compact✅ Nativeset from captured suffixColor
animation · gsap_motion · interaction · text_effect · scroll_* · flip_card · motion_path · confetti · …Animationsmulti-picker⚪ UnmappedDefault — Animation Engine effects (no source mapping)
spacing · css_id · css_class · custom_css · element_position · element_overflow · dc_*Advancedtext / code-editor⚪ UnmappedDefault — outer spacing + per-instance advanced fields, set by hand
unique_id · custom_attrs · responsive_hideAdvancedgroup⚙️ AutoPlumbing — generated / not set

Status legend

  • Native — Set as the native option from the source.
  • 🟡 Via CSS — Reproduced via scoped CSS / the styler; the native option is left empty (candidate to promote to a native mapping).
  • ⚠️ Gap — A source signal exists, but the converter does not derive this yet — a mapping worth adding (a real TODO, not a limitation).
  • Unmapped — Left at default — no reliable source signal, or an intentional/UnysonPlus-specific choice with nothing to translate.
  • ⚙️ Auto — Plumbing (unique id, custom attrs). Excluded from the coverage percentage.

← Back to Element Mapping