目录

About This Kit

UI Design Kit is a Huawei-provided UI development toolkit that adheres to the HarmonyOS Design System. It offers diverse extended components and lighting effects for you to create premium and exquisite user interfaces. For details, see the HarmonyOS design philosophy. By utilizing this kit, you can ensure a consistent visual experience and premium design quality for your app across HarmonyOS all-scenario devices, in full compliance with HarmonyOS design specifications.

Extension Components Lighting Effects Device Adaptability

Diverse component styles

Rich UI lighting effects

Seamless all-scenario experience

Function Overview

[h2]Enhanced UI Components

Category Component Description

Component navigation (HdsNavigation/HdsNavDestination)

Provides HdsNavigation (root view container for routing navigation) and HdsNavDestination (root container of child pages) to streamline navigation; extends title bar interactions, including motion blur effects and bubble menus.

Sidebar (HdsSideBar) and sidebar menu (HdsSideMenu)

Sidebar: Provides a collapsible sidebar container with a customizable content area.

Sidebar menu: Works with the menu component to support level-1 and level-2 menu styles along with red dot notifications for new messages.

Bottom tab bar (HdsTabs)

Supports view switching and provides enhanced styles, including dynamic visibility of tab dividers, background blur, icon bleeding, and half-screen-based center alignment.

Immediate operation (HdsSnackBar) and key operation bar (HdsActionBar)

Immediate operation: Provides a non-modal notification component that supports rich media (image and text) and quick-action buttons for lightweight feedback.

Key operation bar: Combines multiple buttons and supports interaction animations with an expandable and collapsible primary button.

List style (HdsListItem)

Encapsulates premium card styles with built-in swipe-to-delete animations, which can adapt to system aesthetics across various devices.

In-app multi-window (MultiWindowEntryInAPP)

Enables multi-window display for a single app, featuring customizable icons, background colors, and sizes.

Color picker (HdsColorPicker)

The color picker component featuring color selection and favorites management, supports three modes: Grid, Spectrum, and Sliders.

[h2]HDS Immersive Visual Effects

Lighting Effect Function Description

Adaptive light-sensing system

Provides point light source, edge flowing light, and background flowing light effect. The proprietary API that implements the effect of dual-edge flowing light with a background can perfectly adapt to capsule components and screen-edge glows.

Shadow effect upon a press

Provides a press-state shadow API that automatically computes the background color change upon a press to simulate authentic physical feedback.

Immersive light material

Provides immersive light material capabilities for the HDS title bar component and bottom tab component to enhance the sense of hierarchy and space of components, providing more immersive visual and interactive feedback.

Relationship with ArkUI Basic Capabilities

UI Design Kit's capabilities in dimensions such as navigation, tabs, lists, lighting effects, and app interactions are extended based on the corresponding capabilities of ArkUI as follows.

Capability Dimension ArkUI Basic Capability UI Design Kit Capability
Component navigation Basic redirection Immersive experience: supports the title bar dynamic blur style, sheet style, custom content area of the title bar, text/image icon, and more.
Bottom tab bar Basic tab switching Visual enhancement: supports effects such as dynamic visibility of tab dividers, tab bar blur, icon bleeding, and half-screen-based center alignment.
List interaction Common display Enhanced animations: enables built-in swipe-to-delete animation, unified style cards, and multi-device adaptation.
Light and shadow effects Basic surfaces/materials Enhanced visual effects: provides system-level immersive rendering capabilities that can create effects such as point light source effect, flowing light effect, and shadow effect upon a press.
App interaction Single-window interaction Multi-window interaction: provides the in-app multi-window component that supports background, icon, and text style customization.
Symbol icon Depending on preset system configurations Flexible decoupling: allows in-app registration of a custom symbol, without the need to preset it in the system.

Constraints

[h2]Supported Countries/Regions

Currently, this kit is available only in the Chinese mainland.

[h2]Supported Devices

UI Design Kit Capability Supported Device Type
Icon processing Phones, tablets, PCs/2-in-1 devices, and TVs
Component navigation Phones, tablets, PCs/2-in-1 devices, and TVs
Sidebar style Phones, tablets, PCs/2-in-1 devices, and TVs
Sidebar menu style Phones, tablets, PCs/2-in-1 devices, and TVs
Bottom tab bar Phones, tablets, and PCs/2-in-1 devices
Immediate operation Phones, tablets, PCs/2-in-1 devices, and TVs
Key operation bar Phones, tablets, PCs/2-in-1 devices, and TVs
List style Phones, tablets, PCs/2-in-1 devices, wearables, and TVs
Custom symbol loading for an app Phones, tablets, and PCs/2-in-1 devices
HDS visual effects Phones, tablets, and PCs/2-in-1 devices
In-app multi-window Phones and tablets
Immersive light material Phones and tablets
Color picker Phones and tablets

[h2]Constraints on Capabilities

HdsNavigation/HdsNavDestination: When the device is in landscape mode and the navigation mode is Stack, merging the toolbar into the menu bar is not supported, and the title bar defaults to a stacked layout (positioned above the content area).

[h2]Specifications

Supported Emulators

This kit supports the Emulator, but there are some differences in feature support between real devices and the Emulator: