design-system icon indicating copy to clipboard operation
design-system copied to clipboard

New Component: Accordion

Open hakimelek opened this issue 7 years ago • 6 comments

An example from Rental Cars Checkout page: image

hakimelek avatar Jan 16 '18 21:01 hakimelek

@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?

image

image

lauradhahn avatar Feb 21 '18 16:02 lauradhahn

Fun fact You can do this in GH-Flavored Markdown

jxnblk avatar Apr 20 '18 15:04 jxnblk

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.

James300 avatar Nov 18 '19 04:11 James300

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.

sdalonzo avatar Apr 03 '20 16:04 sdalonzo

Blocked by https://github.com/priceline/design-system/issues/711

craigpalermo avatar Apr 03 '20 18:04 craigpalermo