8. UI5 Web Components for React
To not invent everything from scratch, we can use components prepared by others. Our backend is SAP anyway, so in this chapter we focus on the components prepared by SAP. SAP prepared web components that can be used directly in HTML, but there is also a library for React that wraps these web components into React components. You import them, render them and pass props, like any other component.
We take a small pallet counter with a plain HTML button and dress it in UI5: first the button, then an icon and a design, then a bar that shows how full the shipment is.
Docs: UI5 Web Components for React