React implementation of the reusable component library designed in Fundamental Library Styles
The fundamental-react library is a set of React components built using SAP Fundamental Styles. SAP Fundamental Styles is a design system and HTML/CSS component library used to create modern product user experiences with the SAP look and feel.
To install the fundamental-react library, follow these steps:
npm install fundamental-react
...
module: {
rules: [
...
{
test: /\.css$/,
use: ['style-loader', 'css-loader'],
},
...
],
},
...
import { Button, Card, ... } from 'fundamental-react';
...
module: {
rules: [
...
{
test: /\.(woff|woff2|eot|ttf|otf|svg)$/,
use: ['file-loader'],
},
...
],
},
...
html {
font-size: 16px;
}
The fundamental-react library is a set of React components that follow the SAP Fundamental Styles design system. It provides a collection of reusable components for creating modern product user experiences with the SAP look and feel. The library can be installed easily and supports css-modules for avoiding style collisions on the same page. It follows Semantic Versioning and provides an API reference for guidance.