Skip to content

A demo project showing different types of Widgets created with SwiftUI and WidgetKit.

License

Notifications You must be signed in to change notification settings

pawello2222/WidgetExamples

Repository files navigation

Widget Examples logo

BuildLanguageRelease versionLicense

Widget Examples

A demo project showing different types of Widgets created with SwiftUI and WidgetKit.

Table of Contents
  1. Basic widgets
  2. Intent widgets
  3. Unofficial widgets
  4. Installation
  5. License

Basic widgets

App GroupCore DataCountdownDeep Link
App Group WidgetCore Data WidgetCountdown WidgetDeep Link Widget
Digital ClockLive ActivityEnvironment
Digital Clock WidgetLive Activity WidgetEnvironment Widget
Lock ScreenNetworkShared ViewSwiftData
Lock Screen WidgetNetwork WidgetShared View WidgetSwiftData Widget
URL Image
URL Image Widget

Intent widgets

The following widgets use Intents. Please refer to the documentation for a more detailed explanation.

Audio PlaybackDynamic IntentIntentInteractive
Audio Playback WidgetDynamic Intent WidgetIntent WidgetInteractive Widget

Unofficial widgets

The folowing widgets use private API. Please bear in mind that they don't necessarily have to pass the Apple review process and you use them at your own risk.

Analog Clock
Analog Clock Widget

Installation

It is recommended to download the whole project to keep the configuration intact as some widgets depend on the App Group capability or integrate with the main App.

Versions

This project requires iOS 17.

You can also download releases for previous deployment targets:

License

Widget Examples project is available under the MIT license. See the LICENSE file for more info.