Skip to main contenteBay Playbook
  • Get started
  • Foundations
  • Design system
  • Expressions
  • Resources
  • Articles

Design system

  • Overview
    • Overview
    • Color
    • Dimension
    • Spacing
    • Typography
    • Breakpoints
    • Shadow
    • Shape
    • Opacity
    • Motion
    • Overview
    • Status
    • Accordion
    • Action bar
      • Overview
      • Inline notice
      • Page notice
      • Section notice
    • Avatar
    • Badge
    • Banner
    • Breadcrumb
      • Overview
      • Branded button
      • CTA button
      • Icon button
      • Link button
    • Card
    • Carousel
    • CCD
      • Filter chip
      • Input chip
      • Graphs
      • Metrics
    • Date picker
    • Dialog
    • Divider
    • Education notice
    • EEK rating and range
    • Expansion
      • Checkbox
      • Combobox
      • Dropdown
      • Numeric stepper
      • Password
      • Phone number
      • Radio button
      • Select list
      • Switch
      • Text area
      • Text field
    • Item tile
    • List row
      • Overview
      • Expressive loader
      • Skeleton loader
    • Media container
      • Top navigation bar
    • Pagination
    • Popover
    • Progress stepper
    • Search field
    • Section header
    • Segmented button
      • Overview
      • Context sheet
      • Focus sheet
    • Signal
    • Snackbar
    • Tab
    • Table
      • Tooltip
      • Tourtip
    • Toggle button group
    • Video player
    • Overview
    • Bulk editing
    • File uploading
      • Text link

Accordion

v1.1

An accordion is a tool used to hide and reveal content as part of progressive disclosure. Tapping the icon button on each accordion row will expand or collapse the content.

  • CSS
  • Marko
  • React
Stylized artwork of an accordion.
Accordionv1.1

On this page

  • Considerations
  • Anatomy
  • Properties
  • Behavior
  • Screen sizes
  • Best practices
  • Specs

Anatomy

Properties

Behavior

Screen sizes

Best practices

Sub sections

Specs

PreviousStatus
Things.People.Love.
  • Get started
  • Foundations
  • Design system
  • Expressions
  • Resources
  • Articles
  • About eBay Design
  • Careers
  • Press
  • Privacy policy
© 2026 eBay. All rights reserved.

eBay Evo, the eBay trademark, and the eBay logo are the intellectual property of eBay Inc.

    Title

    The title describes the content the row can reveal. Titles are configurable to small (default) or large size. Titles can wrap to multiple lines if needed, but it’s best to keep them concise.



    Content

    The content area of an accordion row can include text, images, or other components. The accordion height will flex to fit various types of content. For paragraph text, keep the line length between 40–75 characters (counting both letters and spaces).

    Divider

    Dividers are shown between accordion rows to aid visual clarity.

    Expand/Collapse

    Selecting any part of the row, including the title or icon button, will expand or collapse the individual row. The icon adjusts to indicate the closed or open state of each row. Rows remain open until closed manually unless auto-collapsing is configured. See motion specs.

    Note: Accordions require two or more rows. If only one row is needed, consider the expansion component.

    Layer states

    Hover and focus states are applied to each title row. See Interaction states for more details on layer state styling.

    Text overflow

    Accordions use a flexible layout so that titles and text content will wrap to multiple lines without limits or truncation.

    Small

    Accordions fill the entire width of the content area on small screens up to a max of 480px.

    Large

    Accordions fill the width of the parent containers on large screens.

    Full-width

    Text-heavy examples like a marketing or FAQ page can use accordions that fill the content area with larger title text sizes.

    Three Accordions with different titles: ‘Shipping and returns’, ‘Description’, and ‘Specifications’.
    Three Accordions with different titles: ‘Shipping and returns’, ‘Description’, and ‘Specifications’. The second row has a text description example about a lounge chair.
    Three Accordions with different titles: ‘Shipping and returns’, ‘Description’, and ‘Specifications’. A label points to the dividing line between rows.
    Two row accordion displaying one row with a paragraph of text describing the lounge chair, and a second row showing  name value pairs relating to the characteristics of the item.
    An example of Accordion title rows, one showing hover state and one showing focus state.
    Three Accordions with different titles: ‘Shipping and returns’, ‘Dimensions and product specifications’, and ‘Description’. The second row includes a multi line text description example about a lounge chair.
    Two accordion examples on mobile screens. The first accordion is displaying one row with a paragraph of text describing the lounge chair, and a second row showing  name value pairs relating to the characteristics of the item. The second accordion is displaying a set of nested sub-navigation for filtering.
    A ‘See more’ Accordion below a ‘Description’ section on an eBay larger page.
    A ‘See more’ Accordion below a ‘Description’ section on an eBay larger page.
    Accordions are shown with specs highlighted. A closed accordion row with a small title is 48px in height. A closed accordion row with a large title is 52px in height. The padding on the top and bottom of the title is 12px, the padding before and after the row is 12px.
An expanded accordion row adds padding between the title and content of 12px. Padding below the content is 6px.

    Considerations

    Progressive

    Accordions reduce visual complexity and information density.

    Empower

    Users decide what information they want to see and when.

    On-demand

    Revealing and hiding information is a single tap away.

    Accordion diagram with 4 elements numbered: 1. Title, 2. Icon button, 3. Content, 4. Divider.
    1. Title
    2. Icon button
    3. Content
    4. Divider

    Button title

    Keep the title short and concise. Only add additional qualifiers if it’s necessary to clarify the expected content.

    Accordion collapsed with short headings

    Don’t use long or wordy titles. Extra long titles can negatively affect the overall hierarchy.

    Accordion collapsed with long headings wrapping to multiple lines

    Use clear sub sections inside of accordion rows.

    Accordion row containing one sub section or nested options with chevron icons

    Don’t nest accordions or use complex layering.

    Accordion row containing complex nested sub sections