2021-12-20
2398
#react
Shalitha Suranga
83526
Dec 20, 2021 â‹… 8 min read

Create collapsible React components with react-collapsed

Shalitha Suranga Programmer | Author of Neutralino.js | Technical Writer

Recent posts:

Your AI Has Agency — Here’s How To Architect Its Frontend

Your AI has agency — here’s how to architect its frontend

AI’s not just following orders anymore. If you’re building the frontend, here’s how to design interfaces that actually understand your agent’s smarts.

Rosario De Chiara
Jun 25, 2025 â‹… 5 min read
how to design apps with Apple Intelligence in mind

How to design apps with Apple Intelligence in mind

Apple Intelligence is here. What does it mean for frontend dev and UX? Explore the core features of the update, do’s and don’ts for designing with Apple Intelligence in mind, and reflect on the future of AI design.

Murat YĂĽksel
Jun 24, 2025 â‹… 10 min read
How To Optimize Your Next.js App With After()

How to optimize your Next.js app with after()

Next.js’ after() is a new API that lets you run logic after your route has finished rendering, without blocking the client.

Temitope Oyedele
Jun 24, 2025 â‹… 11 min read
JavaScript Loops Explained, And Best Practices

JavaScript loops explained, and best practices

JavaScript loops like for, for...of, and for...in are constructs that help run a piece of code multiple times.

Rahul Padalkar
Jun 23, 2025 â‹… 8 min read
View all posts

2 Replies to "Create collapsible React components with react-collapsed"

  1. Thank you so much for this article.
    For the advanced section, is there a way to show one collapsible at a time?
    Thank you

  2. Hi
    How to make single pane open always.
    That means, if we have 2 panes, clicking second pane should close 1st pane and viceversa

Leave a Reply