@ebay/ui-core-react
v7.3.6
Published
Skin components build off React
Downloads
2,199
Readme
ebayui-core-react
eBayUI React components
Requirements
eBayUI Components
- [ ]
ebay-3d-viewer
- [x] ebay-alert-dialog
- [ ]
ebay-area-chart
- [ ]
ebay-avatar
- [x] ebay-confirm-dialog
- [x] ebay-badge
- [ ]
ebay-bar-chart
- [x] ebay-breadcrumbs
- [x] ebay-button
- [x] ebay-calendar
- [ ]
ebay-character-count
- [x] ebay-carousel
- [ ]
ebay-chart-legend
- [x] ebay-checkbox
- [ ]
ebay-chip
- [ ]
ebay-chips-combobox
- [ ]
ebay-combobox
- [x] ebay-confirm-dialog
- [x] ebay-cta-button
- [x] ebay-date-textbox
- [ ]
ebay-details
- [ ]
ebay-donut-chart
- [x] ebay-drawer-dialog
- [ ]
ebay-education-notice
- [x] ebay-eek
- [x] ebay-fullscreen-dialog
- [ ]
ebay-fake-link
- [x] ebay-fake-menu
- [x] ebay-fake-menu-button
- [x] ebay-fake-tabs
- [x] ebay-field
- [ ]
ebay-filter
- [ ]
ebay-filter-menu
- [ ]
ebay-filter-menu-button
- [ ]
ebay-flag
- [x] ebay-fullscreen-dialog
- [x] ebay-icon-button
- [x] ebay-icon
- [ ]
ebay-image-placeholder
- [x] ebay-infotip
- [x] ebay-inline-notice
- [x] ebay-lightbox-dialog
- [ ]
ebay-line-chart
- [x] ebay-listbox-button
- [ ]
ebay-listbox
- [x] ebay-menu
- [x] ebay-menu-button
- [x] ebay-page-notice
- [x] ebay-pagination
- [x] ebay-panel-dialog
- [ ]
ebay-phone-input
- [x] ebay-progress-bar
- [ ]
ebay-progress-bar-expressive
- [x] ebay-progress-spinner
- [x] ebay-progress-stepper
- [x] ebay-radio
- [x] ebay-section-title
- [x] ebay-section-notice
- [x] ebay-segmented-buttons
- [x] ebay-select
- [x] ebay-signal
- [ ]
ebay-skeleton
- [x] ebay-snackbar-dialog
- [ ]
ebay-spark-line
- [x] ebay-split-button
- [x] ebay-star-rating
- [x] ebay-star-rating-select
- [x] ebay-switch
- [x] ebay-tabs
- [x] ebay-textbox
- [x] ebay-toast-dialog
- [ ]
ebay-toggle-button
- [ ]
ebay-toggle-button-group
- [x] ebay-tooltip
- [x] ebay-tourtip
- [ ]
ebay-tri-state-checkbox
- [x] ebay-video
Getting Started
These react components are available as @ebay/ui-core-react
package on NPM.
Use npm or yarn to add the package dependency to your project:
yarn add @ebay/ui-core-react @ebay/skin
import { EbayTextbox } from '@ebay/ui-core-react/ebay-textbox'
import { EbayButton } from '@ebay/ui-core-react/ebay-button'
<EbayTextbox placeholder="Enter text here" />
<EbayButton>Submit</EbayButton>
Notes
If you render children components dynamically and don't want to get React key
warnings then provide a key
:
<EbayParentComponent>
{items.map((item, index) => <EbayChildComponent key={index}>{item}</EbayChildComponent>)}
</EbayParentComponent>
Pass-Through Attributes
HTML attributes can be used on any component, and they will be passed through to the most prominent tag of the component. The most prominent tag is usually the root or form control, but individual components will note if it varies for specific cases.
Example of usage:
<EbayButton id="my-button" />
Issues
Create an issue on github
Contributing
Changelog
@ebay/ui-core-react
version 7.x (Skin 18, breaking changes in icon names)
version 6.x (Skin 17, breaking changes in icon names)
version 5.x (Skin 16, breaking changes in event callbacks)
version 4.x (Skin 16, breaking changes in icon names)
version 3.x (Skin 15, some breaking changes in dialog components)
version 2.x (Skin 15)
@ebay/ebayui-core-react
(obsolete)
version 10.x (Skin 14)
version 9.x (skin 13)
ebayui-core-react
(obsolete)