Closed ulde01 closed 4 years ago
can the new accordion have a nice slide up/down animination? :)
definitely! Thats one off the things we will add :)
I don't think we should limit the amount of content an accordion can hold (in its body at least). It should accept a string of any length and display it as text and possibly even a custom component, meaning whatever you pass in the body will be displayed. This would make the accordion very powerful. This is something, the front x team discussed, the dialog/modal component should be able to do as well.
Also agree it should animate.
We should also discuss if the logic for the expanded state of the accordion (expanded: true | false) is contained within the component itself or should the parent component manage that (
Hej @mario-subo , thanks for the input! Good to see you here. We have discussed this at length as well, and user-tested the component. When content = headers, text, inline links, then the component can contain more. But we have seen videos and other huge content which works less well.
Design review March 27
The accordion has been updated.
Change
Reason Many reasons. First of all, it was time to specify the component better. We have adjusted to fit users’ need with more efficient use of space. The direction of chevron is updated to show how it is animated. We also noticed that the component has been (too) content-heavy and added clearer guidelines.
Specification https://designlibrary.sebgroup.com/components/accordion/
Added to frameworks
Let us know if you have any questions! /Ulrika Design management