目录

About This Kit

ArkUI provides a comprehensive infrastructure for application UI development, including simple UI syntax, a diverse array of UI features (components, layouts, animations, and interaction events), and powerful preview tools.

Basic Concepts

Two Development Paradigms

ArkUI comes with two development paradigms: ArkTS-based declarative development paradigm (declarative development paradigm for short) and JavaScript-compatible web-like development paradigm (web-like development paradigm for short). You can choose whichever development paradigm that aligns with your practice.

The declarative development paradigm is a better choice for building new application UIs for the following reasons:

Development Paradigm Support by Application Type

Depending on the selected application model (stage model or FA model) and page form (normal pages of an app or service, or widgets), the supported UI development paradigms vary. For details, see the table below.

Table 1 Supported development paradigms

Application Model Page Form Supported Development Paradigm
Stage model (recommended) Application or service page Declarative development paradigm (recommended)
Stage model (recommended) Widget

Declarative development paradigm (recommended)

Web-like development paradigm

FA model Application or service page

Declarative development paradigm

Web-like development paradigm

FA model Widget Web-like development paradigm

Layered API Architecture and Selection Guidelines

Supported Emulators

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