Updated: March 5, 2024

SAP S/4HANA Web UI Kit

Intro

You can use this web UI kit to create high-fidelity SAP Fiori designs using Figma.

The UI kit is based on components that are available in the SAPUI5 framework. It reflects the designs used in SAP S/4HANA.

Theme

The latest UI kit uses the Morning Horizon theme.

An older version is available for the Quartz Light theme (see version 1.96). However, this UI kit is not as extensive and is no longer updated.

Other Design Tools

For information on how to use the UI kit with Sketch, Axure RP, or Adobe XD, see Using Figma UI Kits with Other Design Tools.

You can still download older design stencils for Sketch, Axure RP, and Adobe XD (guideline version 1.90), but these are no longer updated.

Disclaimer

The design assets in the UI kit are high-definition mock-ups and may not represent the exact visual design specification or implementation.

For the implementation, check out the SAPUI5 samples.

What’s in the UI Kit?


We provide two separate Figma libraries for compact and cozy form factors:


Library Device Type Screen Sizes
S/4HANA Web UI Kit – Compact Non-touch L (1024 px)
XL (1440 px)
S/4HANA Web UI Kit – Cozy Touch S (414 px)
M (600 px and 834 px)

Each library includes components (controls), layouts, floorplans, and interaction elements (such as cursors and touch visualizations).


Download Package

In addition to the compact and cozy libraries, the download package includes:

  • Style libraries for the Morning Horizon and Evening Horizon themes (colors, shadow levels, and more)
  • The standard SAP icon font (Horizon and Quartz themes)
  • The SAP Business Suite icon font (Horizon and Quartz themes)
  • The 72 font family (web, desktop, mono webfonts, mono desktop)

Prerequisites

To use the UI kit, you need to install SAP’s 72 font family and the SAP icon font on your machine.

Information
Depending on your operating system, we recommend uninstalling any previous SAP icon font version and rebooting your system before installing the latest version.

Download and Installation


Disclaimer:

Some assets in the UI kit may differ from the SAPUI5 implementation.



  1. Install the Figma software here: www.figma.com
  2. Download the latest S/4HANA Web UI Kit.
  3. Install font 72*.
    1. Choose the folder Font 72 /  72_Desktop.
    2. Double-click each .ttf file and click Install.
  4. Install the SAP icon font.
    1. Remove any former versions of the SAP icon font.
    2. Choose the folder Icon Fonts / …final icon package / Fonts
    3. Double-click the SAP-icons.ttf file and click Install.
  5. Optional: Install the SAP Business Suite icon font.
    1. Remove any former versions of the SAP Business Suite icon font.
    2. Choose the folder Icon Fonts / …final icon package / Fonts
    3. Double-click the BusinessSuiteInAppSymbols.ttf file and click Install.

*The 72 font download is made available under the Apache 2.0 license.

Activating the Figma Library

The procedure for using the Figma library depends your Figma license plan. Follow the link for your license plan below.

Option A: With a Figma Professional Plan

  1. Import the two .fig files S/4HANA Web UI Kit Compact and S/4HANA Web UI Kit Cozy into Figma and publish them as libraries.
  1. Create a new design file and activate the published libraries in the asset panel on the left. To do this, click the library icon on the top right of the asset panel and activate the libraries using the switch in the dialog.
  1. After activating a library, you’ll see all the activated libraries as a list within the asset panel on the left. From there, you can easily drag and drop the asset you need to your canvas.

Option B: Without a Figma Professional Plan

  1. Import the two .fig files S/4HANA Web UI Kit Compact and S/4HANA Web UI Kit Cozy into Figma.
  1. You are now able to copy and paste the design component you need from the two files into your project file.

Top Tips

Variants

Check out the variants section within the design panel on the right to adapt the design component as needed. Possible settings include:

  • Content Density
  • Size
  • Visual State
  • Value State
  • Actions

For more information, see Create and use variants on the Figma website.

Swap Instances (Figma Professional Plan Only)

You can easily switch between instances of a component (for example, to switch a “button” component to a “menu button” component). You do this via the instance menu in the design panel on the right.

Map Components to Other Libraries (Figma Professional Plan Only)

If a component has the same name in different libraries, you can swap instances manually (in other words, map components to the components of a different library). For example, you can swap a button from an unavailable library (e.g. “Fiori Web Stencils v1.96”) to a button from the library “S/4HANA Web UI Kit – Compact“. Simply choose the component you want to swap and search for the same component name within the Swap Instance popup.

Important: If the component doesn’t seem to be available any more, please do not click on “Restore Component”.

For more information, see Swap between component instances in a file on the Figma website.

Swap Library (Figma Professional Plan Only)

You can use the “Swap library” function to update all instances in your file (for example, to update your components from an older UI kit version to the latest version).

Procedure:

  1. In the asset panel, open the library dialog.
  2. Choose the library you activated for the file by clicking on the line item.
  3. Click the Swap library button.
  4. Choose the library you want to use to update your components.
  5. Confirm by clicking the Swap library button again.

Whenever the selected target library matches the style and component naming, it is applied automatically.

Figma doesn’t swap unmatched assets. These stay connected to the original library. If needed, you can swap individual instances manually using the swap instances function.

For more information, see Swap style and component libraries on the Figma website.

Using Style Libraries

You can use different style libraries in order to get the latest styles for themes available in Figma.

For the Horizon theme, activate the Morning Horizon MASTER [Resource] library. You’ll find the menu in the right-hand panel within the “Fill”, “Stroke”, and “Effects” sections. The styles are structured in groups, such as “Reference”, “Main UI Colors”, and many more.

To use the Quartz Light Colors, activate the Quartz Light Colors MASTER [Resource] library.

Auto Layout

Auto layout is a feature that enables a container to adapt dynamically to the elements inside it.

  • Everything adjusts automatically when an element within the component is shown or hidden.
  • If a text is changed within the component, everything adjusts automatically to the new text length.
  • The padding is managed dynamically and always remains correct.

You can show/hide elements within components easily using the layer panel on the left.

For more information, see Create dynamic designs with Auto layout on the Figma website.

How to Use SAP Icons

You can copy and paste any SAP icon from the Icon Explorer to Figma:

  1. Make sure that you have installed the icon font you want to use properly. For more information, see Download Fonts.
  2. In the Icon Explorer, select the icon you want to use and copy the icon to the clipboard (at the top of the right-hand panel).
  3. In Figma, within a text element, select the “SAP-icons” font as font.
  4. In Figma, simply paste the icon from the clipboard.

Note: If you switch between different icon fonts, you may need to restart Figma for the new setting in the Text element to take effect.

Related Links