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

Add a collabsible details component #1802

Open
connor-baer opened this issue Oct 18, 2022 · 0 comments
Open

Add a collabsible details component #1802

connor-baer opened this issue Oct 18, 2022 · 0 comments
Labels
⚛️ component Changes to a React component
Milestone

Comments

@connor-baer
Copy link
Member

Visual

Screenshot 2022-10-18 at 17 36 23

From SumUp's developer portal

From SumUp's shop

Screenshot 2022-10-18 at 17 36 23

From SumUp's website

Context

A pattern has emerged at SumUp to display FAQs and similar content in collapsible sections. Essentially, this is a styled version of the <details> HTML element.

State

The component has an open and closed state. Circuit UI already exports the useCollapsible hook that abstracts this state logic.

Progressive enhancement

The component should fill the full width of its parent on all viewports. It should work without JavaScript using the default behaviour of the <details> HTML element.

@github-actions github-actions bot added the stale label May 11, 2023
@sumup-oss sumup-oss deleted a comment from github-actions bot May 11, 2023
@connor-baer connor-baer removed the stale label May 11, 2023
@connor-baer connor-baer added this to the v7.x milestone May 22, 2023
@connor-baer connor-baer modified the milestones: v7.x, v8.x Feb 9, 2024
@connor-baer connor-baer added the ⚛️ component Changes to a React component label Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚛️ component Changes to a React component
Projects
None yet
Development

No branches or pull requests

1 participant