You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EuiAccordion] Migrate from class to function component #9465
help wantedThe EUI team is unlikely prioritize. (Don't delete - used for automation)low hanging fruitAn issue, often a bug, that is lower effort and clearly ought to be fixed
EuiAccordion is a collapsible content container with open/close toggle. Commonly used for progressive disclosure UI patterns.
File:components/accordion/accordion.tsx
Class size: 123 lines
State:isOpen
Lifecycle: None
Migration notes:
Simple — single boolean state, no lifecycle methods. The component is wrapped with withEuiTheme HOC which may also be replaceable with useEuiTheme hook.
Acceptance criteria:
Convert to function component with useState
Replace withEuiTheme HOC with useEuiTheme hook if applicable
Maintain controlled/uncontrolled open state behavior
👋 Thank you for your suggestion or request! While the EUI team agrees that it's valid, it's unlikely that we will prioritize this issue on our roadmap. We'll leave the issue open if you or anyone else in the community wants to implement it by contributing to EUI. If not, this issue will auto close in one year.
help wantedThe EUI team is unlikely prioritize. (Don't delete - used for automation)low hanging fruitAn issue, often a bug, that is lower effort and clearly ought to be fixed
Activity
github-actions commentedon Mar 12, 2026
👋 Thank you for your suggestion or request! While the EUI team agrees that it's valid, it's unlikely that we will prioritize this issue on our roadmap. We'll leave the issue open if you or anyone else in the community wants to implement it by contributing to EUI. If not, this issue will auto close in one year.
antonbc commentedon Apr 4, 2026
I'd like to work on this issue
angeles-mzb commentedon Sep 24, 2026
Acceptance criteria is met by @antonbc 's work on #9558.
There were some unexpected side effects affecting Kibana which were solved on the upgrade PR.