SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Get Started with UI5 Web Components for React

Start building a React web application leveraging UI5 Web Components for React.

Overview

🎓 beginner ⏱ 15 min. HTML5BeginnerSAP Fiori

You will learn

  • ✔How to create a new React application
  • ✔How to connect the application with UI5 Web Components for React
Lukas Harbarth L Lukas Harbarth August 21, 2026
Created on December 5, 2019
Contributors

More from Lukas Harbarth

See all 6 tutorials by Lukas Harbarth →

Prerequisites

Steps

Intro

React is a great front-end development tool for building single-page applications (SPA). UI5 Web Components for React provides a SAP Fiori-compliant React implementation by leveraging the UI5 web components.

SAP Fiori provides a consistent and holistic user experience for SAP software. By creating visually pleasing designs with a strong focus on ease of use, the experience is intuitive and simple, across all devices.

This first tutorial will start by creating a React application that is able to consume UI5 Web Components for React.


Step 1 Bootstrap the app with the Vite template
—

UI5 Web Components for React provides various templates for starting your project. In this tutorial, we’ll use the Vite template.

Navigate to a folder where you want to create your Web App and open a terminal there. Then use the following command:

Shell
npx degit UI5/webcomponents-react/templates/vite-ts#main my-app
cd my-app
npm i

These commands sets up a Vite project, creating a React Application with TypeScript and incorporating all essential dependencies for UI5 Web Components for React.

Step 2 > ### Why TypeScript?
+
Step 3 Create your new root component
+
Step 4 > ### Structure of a React component
+
Step 5 Embed your new component
+
Step 6 Launch the app to start developing
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 6
1. Bootstrap the app with the Vite template 2. > ### Why TypeScript? 3. Create your new root component 4. > ### Structure of a React component 5. Embed your new component 6. Launch the app to start developing
Next