eBayUI Core

repository·master·Indexed 42 days ago

https://github.com/ebay/ebayui-core

A library of standardized, accessible UI components used across eBay's web platforms. Version 15.2.0 provides core building blocks for composite structures, pages, and apps, including components such as ebay-button, ebay-carousel, ebay-combobox, and various data visualization tools like ebay-area-chart and ebay-bar-chart.

Tokens
26K
Snippets
84
Records
155
Agent score
54%

What's inside eBayUI Core

  1. Use the ebay-video component

    master

    The ebay-video component is a video player that supports both MPD (MPEG-DASH) and M3U8 (HLS) playlist formats. It uses dash.js internally, which is loaded asynchronously after the video player is initialized on the page.

    Resizing Behavior

    • Variable Width: If no width is provided, the <video> tag will automatically resize based on its parent container's size.
    • Fixed Width: You can provide a specific width to fix the player's dimensions.
  2. Use the ebay-fake-link component

    master

    The ebay-fake-link component is a UI element that visually resembles a link but functions as a button under the hood. This is useful for maintaining consistent styling while ensuring the element behaves correctly for accessibility and interaction patterns that require a button (e.g., triggering an action rather than navigating to a new URL).

    For interactive documentation and visual examples, refer to the component's Storybook entries.

  3. Use the ebay-area-chart component

    master

    The ebay-area-chart component is used to display one to five series of data points as an interactive stacked area chart.

    For interactive documentation, component states, and visual examples, refer to the Storybook documentation. For implementation patterns, refer to the code examples in the repository.

    <!-- Documentation Links -->
    - Storybook: https://ebay.github.io/ebayui-core/?path=/docs/charts-ebay-area-chart
    - Storybook Docs: https://ebay.github.io/ebayui-core/?path=/docs/charts-ebay-area-chart
    - Code Examples: https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-area-chart/examples
  4. Use the ebay-filter-menu component

    master

    The ebay-filter-menu is a checkbox menu specifically styled for filtering actions. It is designed to be used in conjunction with the ebay-filter-menu-button component to create a selectable set of items that allow users to filter content.

    For interactive documentation and visual examples, refer to the component's Storybook entries.

  5. Use the ebay-combobox component

    master

    The <ebay-combobox> is a composite UI component that combines a text <input> with a listbox (aria-role="listbox"). It allows users to either type custom text into the input or select predefined options from the listbox.

    For interactive documentation, visual states, and detailed property specifications, refer to the official Storybook instances:

  6. Use the ebay-file-input component

    master

    The ebay-file-input component is a styled wrapper around the standard HTML <input type="file">. It provides consistent eBay UI styling for file selection inputs.

    For interactive documentation, visual variations, and detailed property tables, refer to the component's Storybook pages:

    Detailed implementation patterns can be found in the Code Examples directory.

  7. Use the ebay-date-textbox component

    master

    The ebay-date-textbox is a specialized form component designed as an alternative to the standard <input type="date">. It provides a consistent user interface for date entry within eBay UI applications.

    For detailed interactive documentation, visual states, and implementation patterns, refer to the component's Storybook documentation.