design-system
design-system copied to clipboard
Should we make the accordion more flexible?
The footer and the anchor navigation require accordion functionality, but only on certain breakpoints. Can we add a feature to the accordion that allows to specify on what breakpoints to enable/disable accordion behaviour and otherwise just show each section and corresponding header as if nothing ever happened to it?
New features
disable-on: list of named breakpoints where all accordion semantics and styles should be disabledparts: if not already done, expose parts to make styling more flexible from surrounding context
This functionality would enable us to simplify the footer and anchor navigation implementation and might be handy for some projects.