themesberg / themesberg/flowbite-react

Add animation to Accordion component

Open
#909 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:rocket: enhancement good first issue help wanted
Dominant language
TypeScript
Stars
2.1k
Forks
506
PR merge metrics
No merged PRs in 30d

Description

I would like to request that Flowbite-React add animation support to the Accordion component. Currently, the Accordion expands and collapses instantly, which can be jarring for users. I think it would be a great addition to have a smooth animation when the Accordion opens and closes, such as a fade-in or slide-down animation.

This would not only improve the user experience but also make the component more visually appealing. I believe this feature would be beneficial for many users and would make Flowbite-React even more competitive in the market.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Accordion component and its existing tests or Storybook entry. Review how opening and closing currently work, then define and implement a smooth animation for both transitions. Done means the Accordion no longer changes instantly and the behavior remains usable across its supported states.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, tailwindcss, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.