Skip to content

SAPUI5 (Fiori Horizon)

The sapui5 pack imitates SAPUI5 / OpenUI5 1.136 in the SAP Fiori Horizon theme (sap_horizon for light, sap_horizon_dark for dark), "cozy" content density, the "72" typeface (falling back to Arial/Helvetica) and the Horizon colours, radii and shadows. Select it with import SAPUI5 (also OpenUI5, UI5, Fiori, sap.m, sap.f, sap.uxap or sap.tnt).

The pack speaks the control names of sap.m, sap.f, sap.uxap and sap.tnt: ShellBar, Page, DynamicPage, ObjectPageLayout, FlexibleColumnLayout, ToolPage / SideNavigation, Table / Column / ColumnListItem, List with StandardListItem, ObjectListItem, NotificationListItem and FeedListItem, ObjectIdentifier, ObjectNumber, ObjectStatus, GenericTile + NumericContent, Card, IconTabBar, Wizard, SimpleForm, MessageStrip, MessageBox, MessageToast, IllustratedMessage and all the input controls. SAP icon names ("sap-icon://add") work wherever an icon is expected.

A few SAPUI5 properties are spelled through modifiers: .type(.Emphasized) sets a button type, .valueState(.Error) an input's value state, .inverted() an inverted ObjectStatus, .indicator(.Up) a NumericContent trend, .count(12) an IconTabFilter counter, .layout(.TwoColumnsMidExpanded) the FlexibleColumnLayout, .displayShape(.Square) / .displaySize(.L) an Avatar, and .contentDensity(.compact) switches a subtree to compact. state: (Success, Warning, Error, Information) colours ObjectStatus, ObjectNumber, ProgressIndicator, list highlights and Dialog headers.

The examples below import a small component library, mockups/sapui5/fiori.mockitdown, that defines KpiTile, LaunchTile, ProductRow, HeaderFact and OrderItem from SAPUI5 controls.

Launchpad home

The Fiori launchpad: ShellBar with search, notifications and the user avatar, the space tabs, KPI tiles (GenericTile + NumericContent) and app launch tiles.

https://s4.example.com/ui#Shell-home
My HomeSalesProcurementFinanceAnalytics
Sales Performance
RevenueCurrent quarter
M12.8
Open Sales OrdersDue this week
347
Overdue Invoices
K28
Customer SatisfactionSurvey 2026
4.6
Apps
Manage Sales Orders
Create Purchase OrderProcurement
My InboxApprovals
9 open
Manage Products
Track Shipments
Travel Expenses
2 drafts
FLP-01 · Fiori launchpad
Source
import SAPUI5
import "sapui5/fiori"

VBox(alignment: .stretch, spacing: 0) {
  ShellBar("My Home", logo: "assets/images/logo.svg", search: "Search in: Apps",
           notifications: 4, avatar: "Ana Lima") {
    Button(icon: "sap-icon://sys-help")
    Button(icon: "sap-icon://product-switch")
  }
  IconTabBar(selection: "My Home") {
    IconTabFilter("My Home")
    IconTabFilter("Sales")
    IconTabFilter("Procurement")
    IconTabFilter("Finance")
    IconTabFilter("Analytics")
  }
  VBox(alignment: .leading, spacing: 16) {
    Title("Sales Performance", level: .H4)
    HBox(spacing: 16) {
      KpiTile(header: "Revenue", subheader: "Current quarter", value: "12.8", scale: "M",
              footer: "EUR, vs. 11.4 M", color: "Good", trend: "Up")
      KpiTile(header: "Open Sales Orders", subheader: "Due this week", value: "347",
              footer: "Orders", color: "Critical", trend: "Up")
      KpiTile(header: "Overdue Invoices", value: "28", scale: "K",
              footer: "EUR", color: "Error", trend: "Down")
      KpiTile(header: "Customer Satisfaction", subheader: "Survey 2026", value: "4.6",
              footer: "of 5")
    }
    Title("Apps", level: .H4).padding(.top, 8)
    HBox(spacing: 16, wrap: true) {
      LaunchTile(header: "Manage Sales Orders", icon: "sap-icon://sales-order")
      LaunchTile(header: "Create Purchase Order", subheader: "Procurement", icon: "sap-icon://add-document")
      LaunchTile(header: "My Inbox", subheader: "Approvals", icon: "sap-icon://inbox", info: "9 open")
      LaunchTile(header: "Manage Products", icon: "sap-icon://product")
      LaunchTile(header: "Track Shipments", icon: "sap-icon://shipping-status")
      LaunchTile(header: "Travel Expenses", icon: "sap-icon://travel-expense", info: "2 drafts")
    }
  }
  .padding(.horizontal, 32).padding(.vertical, 24)
}
.frame(maxHeight: .infinity)

Create form

A Page with a back button, a footer toolbar and two Panels holding SimpleForms. On desktop the labels sit at the start of each row; the form uses most input controls.

https://s4.example.com/ui#PurchaseOrder-create
New Purchase Order
General Information
Supplier
Acme Office Supplies
Purchasing Group
Office Supplies
Requested Delivery
Dec 1 – Dec 12, 2026
09:00 AM
Cost Center
CC-1000X
Cost center CC-1000X does not exist
Delivery Terms
StandardExpressPickup
Notes
Deliver to the side entrance, building 4.
Item 10 · Ergonomic Desk Chair
Material
CH-200 Ergonomic Chair
Quantity
12
Tags
FurnitureFacilities
Budget Use
64%
Priority
LowNormalHigh
Recurring
Notify Requester
Send e-mail when delivered
OrderSave as DraftCancel
Light
https://s4.example.com/ui#PurchaseOrder-create
New Purchase Order
General Information
Supplier
Acme Office Supplies
Purchasing Group
Office Supplies
Requested Delivery
Dec 1 – Dec 12, 2026
09:00 AM
Cost Center
CC-1000X
Cost center CC-1000X does not exist
Delivery Terms
StandardExpressPickup
Notes
Deliver to the side entrance, building 4.
Item 10 · Ergonomic Desk Chair
Material
CH-200 Ergonomic Chair
Quantity
12
Tags
FurnitureFacilities
Budget Use
64%
Priority
LowNormalHigh
Recurring
Notify Requester
Send e-mail when delivered
OrderSave as DraftCancel
Dark
PO-NEW · Create purchase order

List report

The list report floorplan: a DynamicPage whose title holds the variant management, a header with the filter bar, and a Table with a header toolbar, selection and ObjectIdentifier / ObjectNumber / ObjectStatus cells (from the ProductRow component).

https://s4.example.com/ui#Product-manage
Standard
ProductSupplierPriceAvailability
Notebook Basic 15HT-1000
Very Best Screens
EUR956.00
In Stock
Notebook Professional 17HT-1011
Titanium
EUR2,299.00
Low Stock
ITelO VaultHT-1007
Technocom
EUR299.00
Out of Stock
Ergo Screen E-IHT-1030
Very Best Screens
EUR230.00
In Stock
Comfort EasyHT-1040
Titanium
EUR1,679.00
In Stock
Light
https://s4.example.com/ui#Product-manage
Standard
ProductSupplierPriceAvailability
Notebook Basic 15HT-1000
Very Best Screens
EUR956.00
In Stock
Notebook Professional 17HT-1011
Titanium
EUR2,299.00
Low Stock
ITelO VaultHT-1007
Technocom
EUR299.00
Out of Stock
Ergo Screen E-IHT-1030
Very Best Screens
EUR230.00
In Stock
Comfort EasyHT-1040
Titanium
EUR1,679.00
In Stock
Dark
LR-01 · Manage products
Source
import SAPUI5
import "sapui5/fiori"

VBox(alignment: .stretch, spacing: 0) {
  ShellBar("Manage Products", logo: "assets/images/logo.svg", notifications: 2, avatar: "Ana Lima")
  DynamicPage {
    DynamicPageTitle(header: { VariantManagement("Standard") }, actions: {
      Button(icon: "sap-icon://share").type(.Transparent)
    })
    DynamicPageHeader {
      FilterBar {
        SearchField("Search").frame(width: 220)
        Input(label: "Product", placeholder: "Name or ID")
        Select(label: "Category", selection: "Notebooks") { Item("All"); Item("Notebooks") }
        MultiComboBox(label: "Supplier", selection: ["Titanium", "Very Best"])
        ToolbarSpacer()
        Button("Go").type(.Emphasized)
        Button("Adapt Filters (2)").type(.Transparent)
      }
    }
    Table(selectable: true, header: {
      OverflowToolbar {
        Title("Products (24)")
        ToolbarSpacer()
        Button("Create").type(.Emphasized)
        Button("Delete")
        MenuButton("Export")
        OverflowToolbarButton("sap-icon://action-settings")
      }
    }, footer: {
      VBox(spacing: 2) { Text("**More**"); Text("[ 5 / 24 ]").font(.footnote).foregroundStyle(.secondary) }
    }) {
      Column("Product")
      Column("Supplier")
      Column("Price", alignment: .End)
      Column("Availability")
      ProductRow(name: "Notebook Basic 15", id: "HT-1000", supplier: "Very Best Screens",
                 price: "956.00", stock: "In Stock")
      ProductRow(name: "Notebook Professional 17", id: "HT-1011", supplier: "Titanium",
                 price: "2,299.00", stock: "Low Stock", state: "Warning", selected: true)
      ProductRow(name: "ITelO Vault", id: "HT-1007", supplier: "Technocom",
                 price: "299.00", stock: "Out of Stock", state: "Error")
      ProductRow(name: "Ergo Screen E-I", id: "HT-1030", supplier: "Very Best Screens",
                 price: "230.00", stock: "In Stock")
      ProductRow(name: "Comfort Easy", id: "HT-1040", supplier: "Titanium",
                 price: "1,679.00", stock: "In Stock")
    }
  }
}
.frame(maxHeight: .infinity)

Object page

The object page floorplan: breadcrumbs, title, avatar and actions, key facts in the header, the anchor bar, a SimpleForm section in display mode and an items Table.

https://s4.example.com/ui#Product-display&/HT-1000
Notebook Basic 15HT-1000 · Notebooks
NB
AvailabilityIn Stock
Price
EUR956.00
Rating(128)
Stock Level
72%
SupplierVery Best Screens
EditDeleteCopy
General InformationItemsSalesReviews
General Information
Product
Name
Notebook Basic 15
Category
Notebooks
Dimensions
30 × 18 × 3 cm · 4.2 KG
Status
Released
Description
Notebook Basic 15 with 2.80 GHz quad core, 15" LCD, 8 GB DDR3 RAM, 500 GB hard disc.
Items
ComponentQuantityStatus
Power AdapterPA-65W
PC1
Available
Battery PackBP-6C
PC2
On Order
OP-01 · Product object page

Master–detail with the flexible column layout

A three-column FlexibleColumnLayout: a master list of ObjectListItems (the OrderItem component), an ObjectHeader with an IconTabBar (counts) in the middle, and an IllustratedMessage empty state in the end column.

https://s4.example.com/ui#PurchaseOrder-manage
Purchase Orders (128)
450001768312,480.00 EUR
SupplierAcme Office Supplies
Approved
OrderedNov 21, 2026
4500017691980.50 EUR
SupplierTitanium
Pending
OrderedNov 20, 2026
45000177023,215.00 EUR
SupplierTechnocom
Rejected
OrderedNov 18, 2026
4500017710455.00 EUR
SupplierVery Best Screens
Draft
OrderedNov 17, 2026
4500017683
Edit
Acme Office Supplies
12,480.00 EUR
Created byAna Lima
Approved
DeliveryDec 12, 2026
Partially delivered
InformationItems3Notes2Attachments
Ergonomic Desk ChairCH-200 · 12 PC4,680.00 EUR
Standing DeskDK-140 · 6 PC7,200.00 EUR
Monitor ArmMA-2 · 6 PC600.00 EUR
Activity
ALAna LimaApproved the order. Please deliver before the office move.2 hours ago
Attachments
No Attachments YetDrop files here or upload the delivery note.Upload
FCL-01 · Purchase orders
Source
import SAPUI5
import "sapui5/fiori"

VBox(alignment: .stretch, spacing: 0) {
  ShellBar("Purchase Orders", logo: "assets/images/logo.svg", avatar: "Ben Okafor")
  FlexibleColumnLayout {
    Page("Purchase Orders (128)") {
      VBox(alignment: .stretch, spacing: 0) {
        Toolbar { SearchField("Search").frame(maxWidth: .infinity); OverflowToolbarButton("sap-icon://sort") }
        List {
          OrderItem(title: "4500017683", amount: "12,480.00 EUR", supplier: "Acme Office Supplies",
                    date: "Nov 21, 2026", status: "Approved", state: "Success", selected: true)
          OrderItem(title: "4500017691", amount: "980.50 EUR", supplier: "Titanium",
                    date: "Nov 20, 2026", status: "Pending", state: "Warning")
          OrderItem(title: "4500017702", amount: "3,215.00 EUR", supplier: "Technocom",
                    date: "Nov 18, 2026", status: "Rejected", state: "Error")
          OrderItem(title: "4500017710", amount: "455.00 EUR", supplier: "Very Best Screens",
                    date: "Nov 17, 2026", status: "Draft")
        }
      }
    }
    Page("4500017683") {
      VBox(alignment: .stretch, spacing: 0) {
        ObjectHeader("Acme Office Supplies", "12,480.00 EUR") {
          ObjectAttribute("Created by", "Ana Lima")
          ObjectStatus("Approved", state: .Success)
          ObjectAttribute("Delivery", "Dec 12, 2026")
          ObjectStatus("Partially delivered", state: .Information)
        }
        IconTabBar(selection: "Items") {
          IconTabFilter("Information") { Text("General data") }
          IconTabFilter("Items") {
            List {
              StandardListItem("Ergonomic Desk Chair", description: "CH-200 · 12 PC", info: "4,680.00 EUR")
                .type(.Navigation)
              StandardListItem("Standing Desk", description: "DK-140 · 6 PC", info: "7,200.00 EUR")
                .type(.Navigation)
              StandardListItem("Monitor Arm", description: "MA-2 · 6 PC", info: "600.00 EUR",
                               status: .Warning).type(.Navigation)
            }
          }.count(3)
          IconTabFilter("Notes") { Text("") }.count(2)
          IconTabFilter("Attachments") { Text("") }.count(0)
        }
        List(header: "Activity") {
          FeedListItem("Ana Lima", "Approved the order. Please deliver before the office move.",
                       avatar: "Ana Lima", detail: "2 hours ago")
        }
      }
      .toolbar { ToolbarItem(placement: .topBarTrailing) { Button("Edit").type(.Emphasized); OverflowToolbarButton("sap-icon://full-screen") } }
    }
    Page("Attachments") {
      IllustratedMessage("No Attachments Yet", description: "Drop files here or upload the delivery note.",
                         icon: "sap-icon://attachment") {
        Button("Upload").type(.Emphasized)
      }
      .toolbar { ToolbarItem(placement: .topBarTrailing) { OverflowToolbarButton("sap-icon://decline") } }
    }
  }
  .layout(.ThreeColumnsMidExpanded)
  .frame(maxHeight: .infinity)
}
.frame(maxHeight: .infinity)

Tool page dashboard

A ToolPage with a ToolHeader, the SideNavigation and a dashboard of Cards — charts, a notification list and a busy card — with the ProductSwitch open in a Popover.

https://servicedesk.example.com/#/overview
Overview
TodayWeekMonth
Tickets per DayLast 7 days
Week 47
Notifications3 unread
COTicket #4711 escalated by the customerContoso · Priority High5 min
SYSLA breach expected for 2 ticketsQueue: Hardware1 h
ALKnowledge article approvedReset a locked account3 h
Resolution RateTarget 90 %
%87
87%
Satisfaction1,204 ratings
4.5 of 5
NPS 62Top Agent: Ana
Team LoadRefreshing…
Loading data
TP-01 · Service desk

Wizard

A guided Wizard on step 2 of 4: the numbered progress navigator, a step with a form, and the "next step" button.

https://s4.example.com/ui#Equipment-request
Product TypeProduct InformationOptional InformationPricing
2. Product Information
Name
Ergonomic Desk Chair
Weight (kg)
12
Manufacturer
Herman & Co.
Colour
BlackGreyBlue
Comfort Level
Price Range
Description
Adjustable lumbar support, 4D armrests.
Accessories
HeadrestWheels (hard floor)Footrest
Step 3
WZ-01 · Request equipment
Source
import SAPUI5

VBox(alignment: .stretch, spacing: 0) {
  ShellBar("Request Equipment", logo: "assets/images/logo.svg", avatar: "Ana Lima")
  Wizard(selection: 1) {
    WizardStep("Product Type")
    WizardStep("Product Information") {
      Title("2. Product Information", level: .H4)
      MessageStrip("Equipment over 1,000 EUR needs your manager's approval.", type: .Warning,
                   icon: "sap-icon://message-warning")
      SimpleForm {
        Label("Name"); Input(value: "Ergonomic Desk Chair")
        Label("Weight (kg)"); StepInput(value: 12)
        Label("Manufacturer"); ComboBox(selection: "Herman & Co.")
        Label("Colour"); SegmentedButton(items: ["Black", "Grey", "Blue"], selection: "Grey")
        Label("Comfort Level"); Slider(value: 70, in: 0...100)
        Label("Price Range"); RangeSlider(value: [300, 900], in: 0...1500, showValue: false)
        Label("Description"); TextArea("Adjustable lumbar support, 4D armrests.", rows: 2)
        Label("Accessories")
        Tokenizer { Token("Headrest"); Token("Wheels (hard floor)"); Token("Footrest") }
      }
      HBox { Button("Step 3").type(.Emphasized) }
    }
    WizardStep("Optional Information")
    WizardStep("Pricing")
  }
  .frame(maxHeight: .infinity)
  Bar {
    ToolbarSpacer()
    Button("Review").type(.Emphasized).disabled()
    Button("Cancel").type(.Transparent)
  }
}
.frame(maxHeight: .infinity)

Confirmation: MessageBox and MessageToast

Deleting from a table: a warning MessageStrip on the page, the MessageBox asking for confirmation and a MessageToast from the previous action.

https://s4.example.com/ui#Product-manage
Manage Products
ProductSupplierPriceAvailability
Notebook Basic 15HT-1000
Very Best Screens
EUR956.00
In Stock
ITelO VaultHT-1007
Technocom
EUR299.00
Out of Stock
Comfort EasyHT-1040
Titanium
EUR1,679.00
Low Stock
Ergo Screen E-IHT-1030
Very Best Screens
EUR230.00
In Stock
2 products were archived
Light
https://s4.example.com/ui#Product-manage
Manage Products
ProductSupplierPriceAvailability
Notebook Basic 15HT-1000
Very Best Screens
EUR956.00
In Stock
ITelO VaultHT-1007
Technocom
EUR299.00
Out of Stock
Comfort EasyHT-1040
Titanium
EUR1,679.00
Low Stock
Ergo Screen E-IHT-1030
Very Best Screens
EUR230.00
In Stock
2 products were archived
Dark
MB-01 · Delete products

Phone

On a phone the same controls stack: a Page with a search toolbar, a grouped List with highlights, avatars and navigation items, and an Accept / Reject footer.

My Inbox (6)
Today
ALLeave RequestAna Lima · Dec 22 – Jan 2High
Purchase Order 4500017691Titanium · 980.50 EURMedium
Travel ExpenseBen Okafor · 412.00 EURLow
Yesterday
CWTimesheet Week 47Chen Wu · 41.5 hLow
Contract RenewalContoso · 3 yearsMedium
Show completed
ApproveReject
INB-PH · My Inbox
Source
import SAPUI5

Page("My Inbox (6)") {
  VBox(alignment: .stretch, spacing: 0) {
    Toolbar { SearchField("Search").frame(maxWidth: .infinity) }
    Toolbar { SegmentedButton(items: ["All", "Approvals", "Tasks"], selection: "All").frame(maxWidth: .infinity) }
    List {
      GroupHeaderListItem("Today")
      StandardListItem("Leave Request", description: "Ana Lima · Dec 22 – Jan 2", avatar: "Ana Lima",
                       info: "High", status: .Error).type(.Navigation)
      StandardListItem("Purchase Order 4500017691", description: "Titanium · 980.50 EUR",
                       icon: "sap-icon://sales-order", info: "Medium", status: .Warning).type(.Navigation)
      StandardListItem("Travel Expense", description: "Ben Okafor · 412.00 EUR",
                       icon: "sap-icon://travel-expense", info: "Low").type(.Navigation)
      GroupHeaderListItem("Yesterday")
      StandardListItem("Timesheet Week 47", description: "Chen Wu · 41.5 h", avatar: "Chen Wu",
                       info: "Low").type(.Navigation)
      StandardListItem("Contract Renewal", description: "Contoso · 3 years",
                       icon: "sap-icon://document", info: "Medium", status: .Warning).type(.Navigation)
      InputListItem("Show completed") { Switch(isOn: false) }
    }
  }
  .toolbar {
    ToolbarItem(placement: .bottomBar) {
      Button("Approve").type(.Accept)
      Button("Reject").type(.Reject)
      OverflowToolbarButton("sap-icon://overflow")
    }
  }
}