design-system
design-system copied to clipboard
New Component: Accordion
An example from Rental Cars Checkout page:
@odmln this might be an interesting one to explore from a design standpoint. We have different chevron placements throughout the site and they're all initiating different types of interactions. Some things to consider:
- Is a chevron the right indicator for an accordion interaction?
- Could the accordion behavior be applied to a number of different page elements?
- If so, what placement/indicator would be most flexible?
Fun fact
You can do this in GH-Flavored Markdown
I'll wait until v4 for this since that is when we are doing the bump to hooks and it seems pointless to remake this component right after building it.
FYI I created this component internally, and it could be promoted to the Design System as soon as we bump the React peer floor to support hooks.
Blocked by https://github.com/priceline/design-system/issues/711