sap-fiori-guidelines

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

SAP Fiori Design Guidelines

SAP Fiori 设计指南

Comprehensive guidance for designing and building SAP Fiori applications following official SAP design system standards.
遵循官方SAP设计系统标准,为设计和构建SAP Fiori应用提供全面指导。

When to Use This Skill

使用场景

  • Designing or building SAP Fiori applications
  • Implementing SAPUI5 or UI5 Web Components
  • Following SAP enterprise UX patterns
  • Choosing UI elements for SAP applications
  • Implementing navigation, messaging, or data visualization
  • Ensuring accessibility and inclusive design
  • Applying colors, typography, or visual styling
  • Designing AI-powered features, Joule integration, or guided prompts
  • 设计或构建SAP Fiori应用
  • 实现SAPUI5或UI5 Web Components
  • 遵循SAP企业UX模式
  • 为SAP应用选择UI元素
  • 实现导航、消息或数据可视化功能
  • 确保无障碍与包容性设计
  • 应用颜色、排版或视觉样式
  • 设计AI驱动功能、Joule集成或引导式提示

Core Principles

核心原则

SAP Fiori is built on five principles:
  1. Role-based - Designed for specific user roles and tasks
  2. Adaptive - Works across devices and screen sizes
  3. Coherent - Consistent experience across all SAP applications
  4. Simple - Focused on essential tasks, reduces complexity
  5. Delightful - Engaging and intuitive user experience
SAP Fiori基于五大原则构建:
  1. 基于角色 - 针对特定用户角色和任务设计
  2. 自适应 - 跨设备和屏幕尺寸适配
  3. 一致性 - 所有SAP应用提供统一体验
  4. 简洁性 - 聚焦核心任务,降低复杂度
  5. 愉悦性 - 提供直观且有吸引力的用户体验

Technology Options

技术选项

TechnologyUse Case
SAPUI5Full SAP Fiori applications, SAP BTP, S/4HANA
UI5 Web ComponentsFramework-agnostic, React/Vue/Angular integration
SAP Fiori ElementsMetadata-driven apps with OData services
技术使用场景
SAPUI5完整SAP Fiori应用、SAP BTP、S/4HANA
UI5 Web Components与框架无关,支持React/Vue/Angular集成
SAP Fiori Elements基于OData服务的元数据驱动应用

Reference Documentation

参考文档

Read the appropriate reference file based on your task:
根据任务选择对应的参考文件:

UI Elements

UI元素

ReferenceContents
references/ui-actions.md
Buttons, links, toggle buttons, menu buttons
references/ui-inputs.md
Input fields, selects, checkboxes, radio buttons, sliders, date/time pickers, filter bar
references/ui-containers.md
Panels, cards, dialogs, popovers, toolbars, forms, shell bar, user menu, notification center
references/ui-display.md
Avatars, progress indicators, busy indicators, illustrated messages
references/ui-lists-tables.md
Responsive tables, grid tables, analytical tables, grid lists, lists
references/ui-navigation.md
Icon tab bar, segmented button, side navigation, shell search
references/ui-messages.md
Message strips, message strip web component
references/ui-ai.md
AI button, AI notice, AI writing assistant, AI acknowledgment, guided prompts, quick prompts, regenerate, home page banner
references/ui-upload.md
Upload set with table plugin
参考文档内容
references/ui-actions.md
按钮、链接、切换按钮、菜单按钮
references/ui-inputs.md
输入框、选择器、复选框、单选按钮、滑块、日期/时间选择器、筛选栏
references/ui-containers.md
面板、卡片、对话框、弹出框、工具栏、表单、Shell栏、用户菜单、通知中心
references/ui-display.md
头像、进度指示器、忙碌指示器、插图消息
references/ui-lists-tables.md
响应式表格、网格表格、分析表格、网格列表、列表
references/ui-navigation.md
图标标签栏、分段按钮、侧边导航、Shell搜索
references/ui-messages.md
消息条、消息条Web组件
references/ui-ai.md
AI按钮、AI通知、AI写作助手、AI确认、引导式提示、快速提示、重新生成、首页横幅
references/ui-upload.md
带表格插件的上传集合

Page Types & Floorplans

页面类型与框架模板

ReferenceContents
references/page-types.md
Object page, list report, analytical list page, overview page, dynamic page layout, page header
参考文档内容
references/page-types.md
对象页面、列表报表、分析列表页面、概览页面、动态页面布局、页面头部

Foundations

基础规范

ReferenceContents
references/foundations-visual.md
Colors, typography, iconography, theming, content density
references/foundations-interaction.md
States, cursors, screen reader support
references/foundations-writing-and-wording.md
UX writing, UI text guidelines
references/foundations-best-practices.md
Navigation, messaging, object handling, action placement
references/foundations-ai-and-joule-design.md
AI design patterns, Joule assistant, situation handling, AI guidelines
references/foundations-integration-and-services.md
Fiori launchpad, integration patterns
参考文档内容
references/foundations-visual.md
颜色、排版、图标、主题、内容密度
references/foundations-interaction.md
状态、光标、屏幕阅读器支持
references/foundations-writing-and-wording.md
UX文案、UI文本规范
references/foundations-best-practices.md
导航、消息、对象处理、操作放置
references/foundations-ai-and-joule-design.md
AI设计模式、Joule助手、场景处理、AI规范
references/foundations-integration-and-services.md
Fiori启动板、集成模式

SAP Fiori Elements & S/4HANA

SAP Fiori Elements 与 S/4HANA

ReferenceContents
references/fiori-elements.md
Smart templates, list report, object page, table features, AI input assistance
references/sap-s4hana.md
S/4HANA specific design: navigation menu, product home page, AI error explanation
参考文档内容
references/fiori-elements.md
智能模板、列表报表、对象页面、表格功能、AI输入辅助
references/sap-s4hana.md
S/4HANA专属设计:导航菜单、产品首页、AI错误说明

Quick Reference

快速参考

Button Types and Usage

按钮类型与用法

TypeUsage
EmphasizedPrimary action - one per page/dialog
Default/GhostSecondary actions
TransparentToolbar actions, low emphasis
Accept (green)Positive semantic actions (Approve, Accept)
Reject (red)Negative semantic actions (Reject, Delete)
类型用法
强调型主要操作 - 每页/对话框仅一个
默认/幽灵次要操作
透明工具栏操作,低强调
确认(绿色)正向语义操作(批准、接受)
拒绝(红色)负向语义操作(拒绝、删除)

Semantic Colors

语义颜色

ColorMeaningUsage
NeutralDefault stateRegular UI elements
Positive (Green)Success, good statusApproval, completion
Critical (Orange)WarningNeeds attention
Negative (Red)Error, bad statusRejection, errors
Information (Blue)Informational highlightNeutral information
颜色含义用法
中性默认状态常规UI元素
正向(绿色)成功、良好状态审批、完成
警告(橙色)警告需要关注
负向(红色)错误、不良状态拒绝、错误
信息(蓝色)信息高亮中性信息

Message Types

消息类型

TypeUsage
ErrorPrevents task completion, requires user action
WarningPotential issue, user can proceed
SuccessConfirms completed action
InformationNeutral information
类型用法
错误阻止任务完成,需用户操作
警告潜在问题,用户可继续
成功确认操作完成
信息中性信息

Navigation Patterns

导航模式

PatternWhen to Use
Drill-downNavigate to object details with back navigation
Full-screenReplace current view entirely
Flexible Column LayoutMaster-detail views in columns
Dialog/PopoverTemporary overlay for quick tasks
模式使用场景
钻取导航至对象详情,支持返回
全屏完全替换当前视图
灵活列布局分栏展示主-明细视图
对话框/弹出框临时浮层用于快速任务

AI Components

AI组件

ComponentWhen to Use
AI ButtonTrigger AI-powered actions
AI AcknowledgmentShow AI contribution transparency
Guided PromptsHelp users formulate AI requests
Quick PromptsProvide predefined AI interaction shortcuts
RegenerateAllow users to request new AI-generated content
AI Writing AssistantInline AI text assistance
Local AI NoticeInform users about on-device AI processing
组件使用场景
AI按钮触发AI驱动操作
AI确认展示AI贡献透明度
引导式提示帮助用户制定AI请求
快速提示提供预定义AI交互快捷方式
重新生成允许用户请求新的AI生成内容
AI写作助手内嵌式AI文本辅助
本地AI通知告知用户设备端AI处理情况

Implementation Checklist

实施检查清单

When building a Fiori application:
  • Single emphasized button per page/dialog
  • Proper semantic colors for status indication
  • Message handling with Message Popover
  • Accessible labels and ARIA attributes
  • Responsive layout for different screen sizes
  • Consistent navigation patterns
  • Form validation with value states
  • Loading indicators for async operations
  • AI features follow Joule design patterns where applicable
构建Fiori应用时:
  • 每页/对话框仅一个强调型按钮
  • 使用正确的语义颜色指示状态
  • 通过消息弹出框处理消息
  • 设置无障碍标签和ARIA属性
  • 为不同屏幕尺寸设计响应式布局
  • 采用一致的导航模式
  • 表单验证包含值状态
  • 异步操作添加加载指示器
  • AI功能在适用时遵循Joule设计模式

Key Guidelines

关键规范

Buttons

按钮

  • Use text buttons for primary, secondary, and semantic actions
  • Icon-only buttons only for universally recognized metaphors
  • Always provide tooltips for icon buttons
  • Button text: imperative verb (Save, Edit, Create)
  • 主要、次要和语义操作使用文本按钮
  • 仅为通用认知的隐喻使用纯图标按钮
  • 图标按钮始终提供工具提示
  • 按钮文本使用祈使动词(保存、编辑、创建)

Forms

表单

  • Group related fields logically
  • Use proper field labels (always visible)
  • Show validation errors with value states
  • Provide clear error messages
  • 按逻辑分组相关字段
  • 使用合适的字段标签(始终可见)
  • 通过值状态展示验证错误
  • 提供清晰的错误消息

Tables

表格

  • Use responsive table for most cases
  • Grid table for complex data analysis
  • Analytical table for aggregation needs
  • Always provide column headers
  • 大多数场景使用响应式表格
  • 复杂数据分析使用网格表格
  • 需要聚合功能使用分析表格
  • 始终提供列标题

Messages

消息

  • Message Popover for multiple messages
  • Message Box only for interrupting errors
  • Toast for transient success confirmations
  • Inline validation for form fields
  • 多条消息使用消息弹出框
  • 仅在中断性错误时使用消息框
  • 短暂的成功确认使用提示框
  • 表单字段使用内嵌验证

AI Integration

AI集成

  • Use AI Button for AI-triggered actions
  • Show AI Acknowledgment for transparency
  • Provide Guided Prompts to help users interact with AI
  • Always include Local AI Notice when processing happens on-device
  • Follow responsible AI principles in all AI-powered features
  • 使用AI按钮触发AI驱动操作
  • 展示AI确认以保证透明度
  • 提供引导式提示帮助用户与AI交互
  • 设备端处理时始终显示本地AI通知
  • 所有AI驱动功能遵循负责任的AI原则

External Resources

外部资源


When implementing specific components, always read the relevant reference file for detailed guidance and examples.

实施特定组件时,请务必阅读相关参考文件以获取详细指导和示例。