We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All
GuidesApplication FrameworkForm KitArkTS Widget Development (Recommended)ArkTS Widget Provider DevelopmentArkTS Widget UI DevelopmentOverview of ArkTS Widget UI Development

Overview of ArkTS Widget UI Development

ArkTS widgets are developed using the general ArkTS language. You can use the ArkTS-based declarative development paradigm to develop ArkTS widget pages.

The following widget pages are automatically generated by a DevEco Studio template. You can adjust the pages based on the real-world service scenarios.

Page Capabilities Supported by ArkTS Widgets

ArkTS widgets possess all capabilities of JS widgets and have additionally introduced animation and custom drawing capabilities. They support some components, events, animations, data management, and state management capabilities within the ArkTS-based declarative development paradigm.

For APIs that can be used in ArkTS widgets, a description (for example) will be added as follows: "Widget capability: This API can be used in ArkTS widgets since API version 12." Pay attention to the capability differences in the widget scenario.

For example, the following description indicates that CircleShape can be used in ArkTS widgets.

Search in Guides
Enter a keyword.