[accordion] <summary> / <details> based implementation #1148
Labels
component: accordion
This is the name of the generic UI component, not the React module!
discussion
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
Feature request
Summary
Today, the accordion is built on top of the collapsible pattern.
Examples in other libraries
Motivation
We might be able to reduce bundle size.
I'm not super clear on what's preventing us from making this move, but I believe that we need an issue to document this. Developers will ask themselves: why couldn't I simply do this?
Examples of people pushing
<summary>
/<details>
further:Limitations that we are aware of:
to figure out you can use
details::details-content {
. It's not a great DX to style with Tailwind CSS, etc. It's hard to discover what can be styled.The text was updated successfully, but these errors were encountered: