Skip to main content

Accordion — converter mapping

Source accordionaccordion. 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

Priority25
Recognizeraccordion
Matches whenA toggle / disclosure group — a set of clickable headers each revealing a panel of content (an FAQ, a details list).
Becomesaccordion
Recognizer block shape{ items:[{ title, content }] }
FallbackDegrades to code_block.

Each source toggle becomes an accordion panel (its header → the tab title, its body → the tab content, closed by default). The accordion’s look (style, icons, numbering, colours) is left at the theme defaults.

Option coverage

17/28 options mapped natively (61%) — 🟡 0 via CSS · ⚠️ 1 gap (derivable, not yet) · ⚪ 10 default · ⚙️ 3 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
tabsContentaddable-popup✅ NativeOne panel per source toggle — title + content (with FAQ JSON-LD answer recovery)
accordion_styleDesignimage-picker✅ NativeFamily (bordered / separated / flush / filled / ghost) from item background / border / gap
icon_styleDesignselect✅ Nativechevron / arrow / plus-minus / plus-x / none, from the marker glyph
icon_positionDesignselect✅ Nativeleft / right from justify-content / the icon placement in the bar
title_alignmentDesignselect✅ NativeComputed text-align of the header
item_spacingDesignshort-select✅ NativeGap between items (space-y / gap / margin), snapped to the nearest mb-N
corner_radiusDesignselect✅ NativeItem border-radius → none / sm / md / lg
elevationDesignselect✅ NativeItem box-shadow presence → subtle / raised
title_bg_colorStylingcompact color✅ NativeComputed header background fill
faq_schemaSEOswitch✅ NativeEnabled when a schema.org FAQPage covers the questions — re-emits the FAQ structured data
initially_openContentselect✅ NativeInitial open state — details[open] / aria-expanded="true" on the open panel (per-tab is_open + initially_open)
title_tagContentselect✅ NativeThe header heading level (h2–h6) when the toggle is wrapped in a real heading
content_bg_colorStylingcompact color✅ NativeComputed panel (content) background fill
multiple_openBehaviorswitch✅ Native
Details
group opens independently (yes) vs Bootstrap data-bs-parent single-open (no)
collapsibleBehaviorswitch⚠️ GapNo reliable static signal (Bootstrap panels are collapsible by default) — left as a gap
tab_title_colorStylingcompact color✅ NativeComputed header text colour (when not the default near-black)
tab_content_colorStylingcompact color✅ NativeComputed panel text colour (when not the default near-black)
icon_closed_colorStylingcompact color✅ NativeComputed marker/icon colour
numberingDesignmulti-picker⚪ UnmappedDefault — UnysonPlus item numbering, not a source signal
hash_linkingBehaviorswitch⚪ UnmappedDefault
show_expand_collapse_allBehaviorswitch⚪ UnmappedDefault
active_accentStylingcompact color⚪ UnmappedDefault — UnysonPlus accent colour
title_hoverStylingswitch⚪ UnmappedDefault
font_size_presetStylingselect⚪ UnmappedDefault — maps to a Text Style; overlaps the design system
icon_closed_image · icon_open_image · icon_*_textDesignupload / short-text⚪ UnmappedDefault — custom marker images / text
spacingAdvancedspacing⚪ UnmappedDefault — the element’s outer margin/padding
animation · gsap_motion · interaction · text_effect · scroll_* · …Animationsmulti-picker⚪ UnmappedDefault — Animation Engine effects (no source mapping)
css_id · css_class · custom_cssAdvancedtext / code-editor⚪ UnmappedDefault — per-instance, set by hand
unique_idAdvancedunique⚙️ AutoGenerated
responsive_hide · dc_* · element_position · element_overflowAdvancedgroup⚙️ AutoNot set
custom_attrsAdvancedaddable-box⚙️ AutoNot 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