All Projects → SAP → Ui5 Webcomponents React

SAP / Ui5 Webcomponents React

Licence: apache-2.0
A wrapper implementation for React of the UI5 Web Components that are compliant with the SAP Fiori User Experience

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Ui5 Webcomponents React

Storybook
📓 The UI component explorer. Develop, document, & test React, Vue, Angular, Web Components, Ember, Svelte & more!
Stars: ✭ 67,445 (+30556.82%)
Mutual labels:  ui-components, web-components
Kpc
A UI Components Library for Intact, Vue, React and Angular.
Stars: ✭ 266 (+20.91%)
Mutual labels:  ui-components, web-components
bui
‹b› Web components for creating applications – built by Blackstone Publishing using lit-html and lit-element
Stars: ✭ 29 (-86.82%)
Mutual labels:  web-components, ui-components
elements
Lovingly crafted ui components based on web components. Works well with all Frameworks - including Angular, React and Vue.
Stars: ✭ 42 (-80.91%)
Mutual labels:  web-components, ui-components
Webrix
Powerful building blocks for React-based web applications
Stars: ✭ 41 (-81.36%)
Mutual labels:  ui-components, web-components
Vue Ui Framework
My personal collection of Vue UI framework
Stars: ✭ 245 (+11.36%)
Mutual labels:  ui-components, web-components
sodium-ui
Sodium is a simple, modular and customizable web component library to build elegant and accessible UI pieces for your React Application.
Stars: ✭ 23 (-89.55%)
Mutual labels:  web-components, ui-components
Numl
A UI Design Language, WC UI Library, and Runtime CSS Framework for rapidly building interfaces that follow your Design System 🌈
Stars: ✭ 229 (+4.09%)
Mutual labels:  ui-components, web-components
Ui5 Webcomponents
UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
Stars: ✭ 882 (+300.91%)
Mutual labels:  open-source, web-components
Xy Ui
🎨面向未来的原生 web components UI组件库
Stars: ✭ 603 (+174.09%)
Mutual labels:  ui-components, web-components
Circlebar
A fun, easy-to-use tab bar navigation controller for iOS.
Stars: ✭ 513 (+133.18%)
Mutual labels:  open-source, ui-components
Smart Webcomponents
Web Components & Custom Elements for Professional Web Applications
Stars: ✭ 110 (-50%)
Mutual labels:  ui-components, web-components
Components
Example Components (Built with Tonic)
Stars: ✭ 42 (-80.91%)
Mutual labels:  ui-components, web-components
Vant React
Lightweight 2kb Mobile UI Components built on React and TS, inspired by [email protected]://github.com/youzan/vant
Stars: ✭ 166 (-24.55%)
Mutual labels:  ui-components, web-components
Preact Custom Element
Wrap your component up as a custom element
Stars: ✭ 212 (-3.64%)
Mutual labels:  web-components
Werdlists
⌨️ Wordlists, Dictionaries and Other Data Sets for Writing Software Security Test Cases
Stars: ✭ 216 (-1.82%)
Mutual labels:  open-source
Kafka
Go driver for Kafka
Stars: ✭ 212 (-3.64%)
Mutual labels:  open-source
Server Components
🔧 A simple, lightweight tool for composable HTML rendering in Node.js, based on web components.
Stars: ✭ 212 (-3.64%)
Mutual labels:  web-components
Ksql Udf Deep Learning Mqtt Iot
Deep Learning UDF for KSQL for Streaming Anomaly Detection of MQTT IoT Sensor Data
Stars: ✭ 219 (-0.45%)
Mutual labels:  open-source
Simple Calendar
A simple calendar with events, customizable widgets and no ads.
Stars: ✭ 2,696 (+1125.45%)
Mutual labels:  open-source

UI5 Web Components for React Logo

Build Status Coverage Status Slack Badge Slack Badge code style: prettier lerna REUSE Status

ui5-webcomponents-react is providing a Fiori-compliant React implementation by leveraging the UI5 Web Components. This project was formerly known as fiori-for-react.

Resources

You can find our documentation under the following links:

Package Overview

Requirements

Download and Installation

To consume ui5-webcomponents-react, first you need to install the npm module:

npm install @ui5/webcomponents-react --save

Getting Started

Tutorial

You are new to UI5 Web Components for React and don't know where to start?
Then take a look at our Tutorial Mission at “SAP Developers”! There you get a first glimpse at how easy it is to create an Application with UI5 Web Components for React.
In about an hour you will create a business dashboard from scratch and get familiar with some React basics in case you don't know them already.

Creating a new React app

You can create a new react app by using create-react-app with our template. This template is installing all required dependencies for you and is setting up the App.js file for you:

npx create-react-app my-app --template @ui5/webcomponents-react
# or if you want to use yarn
yarn create react-app my-app --template @ui5/webcomponents-react

Creating a new React app based on our Seed

You can create a new react app by using create-react-app based on our seed. This template delivers several out of the box components, scripts and configurations. For more info, check the seed documentation.

npx create-react-app my-app --template @ui5/webcomponents-react-seed
npm run mock

# or if you want to use yarn
yarn create react-app my-app --template @ui5/webcomponents-react-seed
yarn mock

Add @ui5/webcomponents-react to an existing app

First of all, you need to add the @ui5/webcomponents-react dependency to your project. Please also keep in mind installing the required peer dependencies:

npm install @ui5/webcomponents @ui5/webcomponents-react --save
# if you want to use the ShellBar or the ProductSwitcher component, you also need to install this package as well
npm install @ui5/webcomponents-fiori

In order to use @ui5/webcomponents-react you have to wrap your application's root component into the ThemeProvider.
You will find this component most likely in src/App.js:

import { ThemeProvider } from '@ui5/webcomponents-react';
...
render() {
  return (
    <div>
      <ThemeProvider>
        <MyApp />
      </ThemeProvider>
    </div>
  );
}

Then you are ready to use @ui5/webcomponents-react and you can import the desired component(s) in your app:
For example, to use the Button component you need to import it:

import { Button } from '@ui5/webcomponents-react'; // loads ui5-button wrapped in a ui5-webcomponents-react component

Then, you can use the Button in your app:

<Button onClick={() => alert('Hello World!')}>Hello world!</Button>

You can also import all components from @ui5/webcomponents-react directly.

For Browser Support and the configuration of the UI5 Web Components, please take a look at the Browser Support and the Configure sections of the UI5 Web Components Readme.

Browser Support

UI5 Web Components are supported by all major modern browsers, including their mobile versions.

Known Issues

Please look at our GitHub Issues.

Support

We welcome all comments, suggestions, questions, and bug reports. Feel free to open issues or chat with us directly in the #webcomponents-react channel in the OpenUI5 Community Slack. Please note that you have to join this Slack workspace via this link if you are not part of it already.

Contributing

Please check our Contribution Guidelines.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].