Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Accordion Component #814

Closed
brsanthu opened this issue Mar 9, 2017 · 5 comments
Closed

Feature Request: Accordion Component #814

brsanthu opened this issue Mar 9, 2017 · 5 comments

Comments

@brsanthu
Copy link

brsanthu commented Mar 9, 2017

Please consider adding Accordion component.

Here are some react based implementations.

  1. https://react-component.github.io/collapse/examples/simple.html
  2. https://github.com/glennflanagan/react-collapsible
@adidahiya
Copy link
Contributor

Blueprint has a Collapse component which should generally satisfy this need. You can compose an Accordion out of Collapse if you choose. Including an Accordion in the core components is pretty low priority for us and I'm not sure we even want to maintain it ourselves (could be a separate independent project / package).

@giladgray
Copy link
Contributor

Closing this as #814 (comment) above pretty much sums up why we won't be building an Accordion. That first linked example is nothing more than several sibling Collapses, and an "accordion" is a simple state layer that ensures only one Collapse is open at a time.

@brsanthu
Copy link
Author

brsanthu commented Mar 9, 2017

Thank you @adidahiya and @giladgray. Makes sense. Will try to implement internally based on collapse.

@dandv
Copy link

dandv commented Nov 21, 2018

I was also looking for an accordion component, and wanted to chime in.

  • the updated link to Collapse is https://blueprintjs.com/docs/#core/components/collapse
  • it would help to add the bit in the second comment to the documentation, so those who search for "accordion" at blueprintjs.com do find that page plus the explanation of how to build one.

@mmz15
Copy link

mmz15 commented Feb 19, 2021

For what it's worth, and though a little late, I second @dandv. Being able to search for 'accordion' and being redirected to collapse would've saved me a good few minutes. Awesome work on the library thus far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants