- 1. Description
- 2. Requirements
- 3. Versioning
- 4. Getting Started
- 5. Known Issues
- 6. Support
- 7. Contributing
- 8. License
- 9. Similar Projects
The @fundamental-ngx/platform
library is a set of Angular components built using Fundamental Library Styles.
The Fundamental Library for Angular is an SAP Design System Angular component library used to build modern product user experiences with the SAP look and feel.
See Component Documentation for examples and API details.
To download and use Fundamental Library for Angular, you will first need to install the node package manager.
Fundamental Library for Angular is intended for use with Angular 15 or newer.
Prior knowledge of Angular is recommended, to use the fundamental-ngx library.
npm package fundamental-ngx version 0.10.0
is compiled with Angular 7. It supports Angular 6 and 7 versions.
This version is not supported by bug fixes.
npm package @fundamental-ngx/platform version 0.11.x
is compiled with Angular 8.
It supports Angular 8 version and newer. This version will have merged some bug-fixes.
npm package @fundamental-ngx/platform versions 0.12.y - 0.15.z
are compiled with Angular 8.
It supports the current Angular 8 version and newer. This version also can be used along with enabled IVY.
npm package @fundamental-ngx/platform versions 0.16.y - 0.18.z
are compiled with Angular 8.
It supports the current Angular 9 version and newer. This version also can be used along with enabled IVY.
Check the Breaking Changes for the latest patches changes.
For an existing Angular CLI application,
-
Video tutorial How to use the Fundamental Core Library
-
Install Fundamental-NGX.
ng add @fundamental-ngx/platform
For models prior to 0.10 usefundamental-ngx
If you do not use the Angular CLI or if this command does not work for you, please see the full installation guide.
-
Edit your tsconfig. Edit the
target
in yourtsconfig.json
toes5
. The library is incompatible with later versions. -
Import the modules you want to use.
To add the entire library, add the following import to your main application module.
import { FundamentalNgxPlatformModule } from '@fundamental-ngx/platform'; @NgModule({ ... imports: [FundamentalNgxPlatformModule], }) export class DemoModule { }
To include an individual Angular Fundamental component in your application, you only need to import the relevant module.
-
Provide the RtlService. In your main application module, add
RtlService
to the list of providers. This service is needed to ensure proper right-to-left functionality for users with their browser set to an RTL language. -
Provide the ContentDensityService. In your main application module, you will also need to add
ContentDensityService
to the list of providers if you wish to manage the content density of you application from a single point. -
Add the component to your HTML.
Please see Issues.
If you encounter an issue, you can create a ticket.
If you want to contribute, please check the CONTRIBUTING.md documentation for contribution guidelines. Please follow the Angular commit message guidelines.
Check out the NEW_COMPONENT.md guide on building a new component for the library and creating the necessary documentation for your new component.
Fundamental-react - React implementation of Fundamental Library Styles