themesberg/flowbite

Add animation to accordion component when collapsing

xyz1123581321 opened this issue · 0 comments

Description: I would like to request the addition of a collapsing animation to the accordion component. Currently, when an accordion item is collapsed, the transition is abrupt, which may detract from the overall user experience. A smooth animation would enhance the visual appeal and provide a more polished interaction.

Benefits:

  • Improved user experience with smoother interactions.
  • Enhanced visual appeal of the accordion component.
  • Consistency with modern UI practices that favor animations for state changes.

Additional Context: Similar features have been implemented in various UI frameworks, and they have proven to significantly improve the interaction quality. I believe that adding this feature would make the Flowbite accordion component more competitive and enjoyable for users.

Possible Alternatives: If implementing a full animation is not feasible, even a simple fade effect or a slight delay in the collapse action would be beneficial.

Thank you for considering this request!