Form Kit provides a development framework and APIs for embedding app information on the home screenand system apps such as the lock screen. It allows you to extract important information or frequently used operations from an app into service widgets (widgets for short). By adding widgets to the home screenand system apps such as the lock screen, you can achieve convenient information display and direct service access.
Figure 1 Typical procedure of using a widget
Figure 2 Widget architecture

Fundamental Concepts in Widget Usage Scenarios
Information display: Key information from applications or atomic services is displayed on the home screen as widgets. The information can be updated periodically so that users can view relevant information at any time.
Instant service access: Users can perform quick actions by touching buttons within the widget and can also navigate to the corresponding functional pages of the application or atomic service, achieving seamless one-step service access.
Model Selection
The system currently supports two application development models: stage and FA. Consequently, Form Kit accommodates both models for widget development, with a preference for the stage model.
UI Development Paradigm Selection
ArkTS widgets and JS widgets have different implementation principles and features. The following table lists the differences in capabilities.
| Category | JS Widget | ArkTS Widget |
|---|---|---|
| Development paradigm | Web-like paradigm | Declarative paradigm |
| Component capability | Supported | Supported |
| Layout capability | Supported | Supported |
| Event capability | Supported | Supported |
| Custom animation | Not supported | Supported |
| Custom drawing | Not supported | Supported |
| Logic code execution | Not supported | Supported |