vigetlabs/wordpress-site-starter

[Component] Accordion

Opened this issue · 0 comments

Component Specs

Fields

{* Required element}

  • Collapsed state text*
  • Text field
  • Expanded state text*
  • Rich text field

Notes

  • Plus and X icons to navigate between collapsed and expanded states
  • Plan for multiple stacked on top of each other to determine lines between them
  • Min: 1 / Max: Unlimited

Design

Accordion - Desktop

Steph's Thoughts on Implementation

  • The way this was designed, we think of it like a repeater field that can have infinite amount of items added to it
  • By default, I think the main pattern would include the bolded "collapsed state text" and the regular "expanded state text"