/WidgetExamples

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

Primary LanguageSwiftMIT LicenseMIT

Widget Examples logo

Build Language Release version License

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 Group Core Data Countdown Deep Link
App Group Widget Core Data Widget Countdown Widget Deep Link Widget
Digital Clock Live Activity Environment
Digital Clock Widget Live Activity Widget Environment Widget
Lock Screen Network Shared View SwiftData
Lock Screen Widget Network Widget Shared View Widget SwiftData Widget
URL Image
URL Image Widget

Intent widgets

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

Audio Playback Dynamic Intent Intent Interactive
Audio Playback Widget Dynamic Intent Widget Intent Widget Interactive 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.