<!--
{
  "availability" : [
    "macCatalyst: 14.0.0 -",
    "iOS: 14.0.0 -",
    "Xcode: 13.2.0 -"
  ],
  "documentType" : "article",
  "framework" : "WidgetKit",
  "identifier" : "/documentation/WidgetKit/building-widgets-using-widgetkit-and-swiftui",
  "metadataVersion" : "0.1.0",
  "role" : "sampleCode",
  "title" : "Building Widgets Using WidgetKit and SwiftUI"
}
-->

# Building Widgets Using WidgetKit and SwiftUI

Create widgets to show your app’s content on the Home screen, with custom intents for user-customizable settings.

## Overview

> Note: This sample code project is associated with WWDC20 session [10034: Widgets Code-Along, Part 1: The Adventure Begins](https://developer.apple.com/wwdc20/10034/); session [10035: Widgets Code-Along, Part 2: Alternate Timelines](https://developer.apple.com/wwdc20/10035/); and session [10036: Widgets Code-Along, Part 3: Advancing Timelines](https://developer.apple.com/wwdc20/10036/).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)