---
title: Widgets
platform: universal
category: technologies
url: https://developer.apple.com/design/human-interface-guidelines/widgets
quality_score: 0.49
content_length: 27314
last_updated: 2025-07-20T03:45:58.688Z
keywords: ["widgets","universal","technologies","system","design","visual","interface","buttons","controls","images","color","typography","icons"]
has_code_examples: false
has_images: false
is_fallback: false
---
Widgets A widget elevates and displays a small amount of timely, relevant information from your app or game so people can see it at a glance in additional contexts. Widgets display content and offer specific functionality without requiring people to open your app. People can use widgets to organize and personalize their devices, quickly accessing the information and features they need. The system can display widgets in different places depending on a person’s device. In i OS and i Pad OS, widgets appear on the Home Screen, in Today View, and on the Lock Screen. In mac OS, people can find widgets on the desktop and in Notification Center. In watch OS, widgets appear in the Smart Stack when people turn the Digital Crown. People can access the widget gallery from the same places where widgets can appear by going into edit mode — for example, by tapping Edit on the Home Screen. The widget gallery contains a collection of widgets that people can add to their device. People can also make changes to editable widgets in the gallery, such as choosing a location in a Weather widget, or selecting a topic in a News widget. In mac OS, the gallery also includes i Phone widgets from devices that use the same Apple Account. In watch OS, apps offer preconfigured widgets that the system displays in the Smart Stack, which can include up to 10 widgets. People can pin widgets to a fixed position in the Smart Stack to customize their experience. In i OS and i Pad OS, the widget gallery also supports widget stacks, including a Smart Stack. A stack contains up to 10 same-size widgets; people view one widget at a time by scrolling through the stack. In a Smart Stack, the stack automatically rotates its widgets to display the widget that’s most likely to be relevant in the current context. Smart Stacks aren’t available on the Lock Screen on i Phone and i Pad. A suggested widget doesn’t stay in the Smart Stack unless people choose to keep it. For developer guidance, see Increasing the visibility of widgets in Smart Stacks. Widgets come in different sizes, ranging from small accessory widgets on the Lock Screen in i OS and i Pad OS, to extra large widgets in i Pad OS and mac OS.The following table shows the available widget sizes for each platform:Widget sizei Phonei Pad Apple Watch Mac System small Home Screen, Today View, and Stand By Home Screen, Today View, and Lock Screen No Desktop and Notification Center System medium Home Screen and Today View Home Screen and Today View No Desktop and Notification Center System large Home Screen and Today View Home Screen and Today View No Desktop and Notification Center System extra large No Home Screen and Today View No Desktop and Notification Center Accessory circular Lock Screen Lock Screen Watch complications and in the Smart Stack No Accessory corner No No Watch complications No Accessory rectangular Lock Screen Lock Screen Watch complications and in the Smart Stack No Accessory inline Lock Screen Lock Screen Watch complications No Best practices Look for a simple idea that’s clearly related to your app’s main purpose. The first step in the design process is to choose a single idea for your widget. Throughout the process, use that idea to help you include only the most relevant content and functionality in the widget. For example, people who use the Weather app are often most interested in the current high and low temperatures and weather conditions, so the widget for Weather prioritizes this information. In each size, display only the information that’s directly related to the widget’s main purpose. In larger widgets, you can display more data — or more detailed visualizations of the data — but you don’t want to lose sight of the widget’s primary purpose. For example, all Calendar widgets display a person’s upcoming events. In each size, the widget remains centered on events while expanding the range of information as the size increases. Offer your widget in multiple sizes when doing so adds value. In general, avoid simply expanding a smaller widget’s content to fill a larger area. It’s more important to create one widget in the size that works best for the content you want to display than it is to provide the widget in all sizes. Aim to create a widget that gives people quick access to the content they want. People appreciate widgets that display meaningful content and offer useful actions and deep links to key areas of your app. When a widget merely behaves like an app icon, it offers little additional value and people may be less likely to keep it on their screens. Prefer dynamic information that changes throughout the day. If a widget’s content never appears to change, people may not keep it in a prominent position. Although widgets don’t update from minute to minute, it’s important to find ways to keep their content fresh to invite frequent viewing. Look for opportunities to surprise and delight. For example, you might design a unique visual treatment for your calendar widget to display on meaningful occasions, like birthdays or holidays. Let people know when authentication adds value. If your widget provides additional functionality when someone is signed in to your app, make sure people know that. For example, an app that shows upcoming reservations might include a message like “Sign in to view reservations” when people are signed out. Updating widget content To remain relevant and useful, widgets periodically refresh their information. Widgets don’t support continuous, real-time updates, and the system may adjust the limits for updates depending on various factors. Keep your widget up to date. Finding the appropriate update frequency for your widget depends on knowing how often the data changes, and estimating when people need to see the new data. For example, a widget that helps people track tides at a beach could provide useful information on an hourly basis, even though tide conditions change constantly. If people are likely to check your widget more frequently than you can update it, consider displaying text that describes when the data was last updated. For developer guidance, see Keeping a widget up to date. Use system functionality to refresh dates and times in your widget. Widget update frequency is limited, and you can preserve some of your update opportunities by letting the system refresh date and time information. Encourage the system to display or elevate the position of your watch OS widget in the Smart Stack. Relevancy information helps the system show your widget when people need it most. Relevance can be location-based or specific to ongoing system actions, like a workout. For developer guidance, see Relevant Context. Show content quickly. When you determine the update frequency that fits with the data you display, you don’t need to hide stale data behind placeholder content. Use animated transitions to bring attention to data updates. By default, many Swift UI views animate content updates. Use standard and custom animations with a duration of up to two seconds to let people know when new information is available or when content displays differently. Offer Live Activities to show real-time updates. Widgets don’t show real-time information. If your app allows people to track the progress of a task or event for a limited amount of time with frequent updates, consider offering Live Activities in your app. Widgets and Live Activities use the same underlying frameworks and share design similarities. As a result, it can be a good idea to develop widgets and Live Activities in tandem and reuse code and design components for both features. For design guidance on Live Activities, see Live Activities; for developer guidance, see Activity Kit. Configuring widgets In some cases, people need to edit a widget to ensure it displays the information that’s most useful for them. For example, people choose a stock symbol for a Stocks widget. In contrast, some widgets — like the Podcasts widget — automatically display recent content, so people don’t need to customize them. Make editable widgets easy for people to customize. If your widget is editable, avoid requiring too many settings or asking for information that might be hard for people to find. You don’t have to design an editing-mode user interface for your widget because the system automatically generates it for you. For developer guidance, see Making a configurable widget. Adding interactivity to widgets People tap or click a widget to launch its corresponding app. In i OS, i Pad OS, mac OS, and watch OS, widgets can also include buttons and toggles to offer additional functionality without launching the app. For example, the Reminders widget helps people mark a task as completed, and the widget of an app people use to log their daily caffeine intake can include a button that increases the caffeine total for the day. Incomplete tasks Completed tasks Offer simple, relevant functionality in a widget, reserving complex functionality for your app. Useful widgets offer an easy way to complete a task or action that’s directly related to its content. Ensure that a widget interaction opens your app at the right location. When people interact with your widget in areas that aren’t buttons or toggles, the interaction launches your app. Avoid making people navigate to the relevant area in the app, and instead deep link to the place where you offer details and actions that directly relate to the widget’s content. For example, when people click or tap a medium Stocks widget, the Stocks app opens to a page that displays information about the symbol. Provide options for interaction while remaining glanceable and uncluttered. In i OS, i Pad OS, mac OS, and watch OS, widgets can offer multiple deep links that open the app and can include controls that perform app functions without launching the app. Multiple interaction targets — Swift UI links, buttons, and toggles — might make sense for your content, but avoid creating app-like layouts in your widgets. Pay attention to the size of targets and make sure people can tap or click them with confidence and without accidentally performing unintended interactions. In watch OS, use a confirmation prompt to avoid unintended interactions. Note that inline accessory widgets offer only one tap target. Interface design Widgets use vivid colors, rich images, and clear, crisp text that’s easy to read at a glance. A unique, beautiful widget not only provides useful information, it can encourage people to feature it on their devices. Help people recognize your widget by including design elements linked to your brand’s identity. Design elements like brand colors, typeface, and stylized glyphs can make a widget instantly recognizable. Take care to keep brand-related design elements from crowding out useful information or making your widget look out of place in its context. Note When a widget appears in Notification Center in mac OS or on the Home Screen in i OS, the system displays the app name below it. In Today View, the Lock Screen in i OS, and the i Pad OS Home Screen, the app name doesn’t appear below a widget. Consider carefully before displaying a logo, wordmark, or app icon in your widget. When you include brand-related design elements like colors and fonts, people seldom need your logo or app icon to help them recognize your widget. Also, the widget gallery displays your app name and icon when it lists the various types and sizes of widgets you offer. In some widgets — for example, those that display content from multiple sources — it may make sense to include a small logo in the top-right corner to subtly identify the app that provides the widget. Aim for a comfortable density of information. When content appears sparse, the widget can seem unnecessary; when content is too dense, the widget isn’t glanceable. If you have lots of information to include, avoid letting your widget become a collage of items that are difficult to parse. Seek ways to curate the content so that people can grasp the essential parts instantly and view relevant details at a longer look. You might also consider creating a larger widget and looking for places where you can replace text with graphics without losing clarity. Use color judiciously. Beautiful colors draw the eye, but they’re best when they don’t prevent people from absorbing a widget’s information at a glance. Use color to enhance a widget’s appearance without competing with its content. In your asset catalog, you can also specify the colors you want the system to use as it generates your widget’s editing-mode user interface. Avoid mirroring your widget’s appearance within your app. If your app displays an element that looks like your widget but doesn’t behave like it, people can be confused when the element responds differently when they interact with it. Also, people may be less likely to try other ways to interact with such an element in your app because they expect it to behave like a widget. Scaling content and using margins and padding Widgets scale to adapt to the screen sizes of different devices and onscreen areas. Ensure that your widget looks great on every device by supplying content at appropriate sizes. Design content to look great in all situations by letting the system resize or scale it as necessary. In i OS, the system ensures that your widget looks good on small devices by resizing the content you design for large devices. In i Pad OS, the system renders your widget at a large size before scaling it down for display on the Home Screen. As you create design comprehensives for various devices and scale factors, use the values listed in Specifications for guidance; for your production widget, use Swift UI to ensure flexibility. Coordinate the corner radius of your content with the corner radius of the widget. To ensure that your content looks good within a widget’s rounded corners, use a Swift UI container to apply the correct corner radius. For developer guidance, see Container Relative Shape. Note In i OS, widgets support Dynamic Type sizes from Large to AX 5 when you use Font to choose a system font or custom(\_:size:) to choose a custom font. For more information about Dynamic Type sizes, see Specifications In general, use standard margins to ensure your content is comfortably legible. Use the standard margin width for widgets — 16 points for most widgets — to avoid crowding the edges of widgets and creating a cluttered appearance. For example, as you place graphics or buttons or you use background shapes to create visual content groupings, you might need to use tighter, custom margins. Setting tight margins of 11 points can work well for those cases. Additionally, note that widgets use smaller margins on the desktop on Mac and on the Lock Screen — including in Stand By. For developer guidance, see padding(\_:\_:).Displaying text in widgets Consider using the system font, text styles, and SF Symbols. Using the system font helps your widget look at home on any platform, while making it easier for you to display great-looking text in a variety of weights, styles, and sizes. Use SF Symbols to align and scale symbols with text that uses the system font. If you need to use a custom font, consider using it sparingly, and be sure it’s easy for people to read at a glance. It often works well to use a custom font for the large text in a widget and SF Pro for the smaller text. For guidance, see Typography and SF Symbols. Avoid using very small font sizes. In general, display text using fonts at 11 points or larger. Text in a font that’s smaller than 11 points can be too hard for many people to read. Always use text elements in a widget to ensure that your text scales well. In particular, don’t rasterize text — doing so prevents Voice Over from speaking your content. Supporting different appearances and modes For every appearance, a unique, beautiful widget not only provides useful information, it can encourage people to feature it on their devices. Depending on the context in which they appear, widgets can look different. For example:Color varies from vivid colors to tinted, monochrome colors. Images vary from rich, full-color images, to monochrome images, to symbols and glyphs only. For example, a small system widget appears as follows:On the Home Screen of i Phone and i Pad, the widget takes on a rich, full color appearance that supports light and dark appearances. On the Lock Screen of i Pad, the widget takes on a vibrant appearance. On the Lock Screen of i Phone in Stand By, the widget appears scaled up in size, and uses the vibrant appearance. When the ambient light falls below a threshold, Stand By in Night mode renders widget content in a monochromatic red tint. Stand By Night mode In Notification Center in mac OS, the widget uses rich, full colors and supports both light and dark appearances. On the desktop on Mac, the widget uses rich, full colors when people interact with it. When people interact with apps instead, the widget uses vibrancy and a blurred background to recede. Similarly, a rectangular accessory widget appears as follows:On the Lock Screen of i Phone and i Pad, it takes on a vibrant appearance. On Apple Watch, the widget can appear as a watch complication in both full-color and tinted appearances, and it can also appear in the Smart Stack. The following table lists the available rendering modes for various types and sizes of widgets. For developer guidance, see Preparing widgets for additional platforms, contexts, and appearances. Widget size Full color Accented Vibrant (receded in mac OS)System small Yes Yes Yes System medium Yes Yes Yes System large Yes Yes Yes System extra large Yes Yes Yes Accessory circular Yes Yes Yes Accessory corner Yes Yes No Accessory rectangular Yes Yes Yes Accessory inline Yes Yes Yes Support Dark Mode. Ideally, a widget looks great in both the light and dark appearances. In general, avoid displaying dark text on a light background for the dark appearance, or light text on a dark background for the light appearance. When you use the semantic system colors for text and backgrounds, the colors dynamically adapt to the current appearance. You can also support different appearances by putting color variants in your asset catalog. For guidance, see Dark Mode; for developer guidance, see Asset management and Supporting Dark Mode in your interface. Support Stand By and Night mode. In Stand By, the system displays two small system family widgets side-by-side, scaled up so they fill the Lock Screen. Widgets that appear in Stand By typically don’t use rich images or color to convey meaning but instead make use of the additional space by scaling up and rearranging text so people can glance at the widget content from a greater distance. To seamlessly blend with the black background, don’t use background colors for your widget when it appears in Stand By. In Night mode, the system applies a red tint to widgets. Night mode Adjust colors and images for the vibrant rendering mode. The system renders widgets on the Lock Screen and the desktop on Mac using a vibrant, blurred appearance. The opacity of pixels within your image determines the strength of the blurred material effect. Fully transparent pixels let the background wallpaper pass through as–is. When creating assets for the vibrant rendering mode, render content like images, numbers, or text at full opacity. The brightness of pixels determines how vibrant they appear on the Lock Screen: Brighter gray values provide more contrast, and darker values provide less contrast. To establish hierarchy, use white or light gray for the most prominent content and darker grayscale values for secondary elements. To make sure images look great in the vibrant rendering mode:Confirm that image content has sufficient contrast in grayscale. Use opaque grayscale values, rather than opacities of white, to achieve the best vibrant material effect. Support both full color and vibrancy for widgets in mac OS. Widgets that people place on the desktop on Mac use rich, full colors when people interact with them; when people switch to using apps, widgets use a vibrant, monochromatic rendering that appears to recede. Be sure to prepare your widget to offer enough contrast to be glanceable and show its information when it takes on the vibrant appearance. People can also place i Phone widgets on the desktop on Mac, so you want to make sure your i Phone widgets support the vibrant appearance in mac OS.Accented widgets In i OS 18 and later and i Pad OS 18 and later, people can select a tint color on the Home Screen. The system applies the selected tint color to widgets and app icons on the Home Screen and in the Today View, similar to how the system applies a tint color to complications on the watch face. Widgets are fully tinted by default, but you can choose views to accent instead. If a widget contains any accented views, only those views are tinted. Consider using accented views to display important information. For developer guidance, see widget Accentable(\_:)Use full color to highlight images. In i OS and i Pad OS, you can specify images in a widget to render in full color. For example, you can make the album artwork full color for a music app. Note that full-color images need to have smaller dimensions than the size of the widget. Convey meaning without relying on specific colors to represent information. Someone may choose a color that changes the purpose of the information you’re showing. In watch OS, the system may invert colors depending on the watch face a person chooses. Previews and placeholders Design a realistic preview to display in the widget gallery. Highlighting your widget’s capabilities — and clearly representing the experiences each widget type or size can provide — helps people make an informed decision. You can display real data in your widget preview, but if the data takes too long to generate or load, display realistic simulated data instead. Design placeholder content that helps people recognize your widget. An installed widget displays placeholder content while its data loads. You can create an effective placeholder appearance by combining static interface components with semi-opaque shapes that stand in for dynamic content. For example, you can use rectangles of different widths to suggest lines of text, and circles or squares in place of glyphs and images. Write a succinct description of your widget. The widget gallery displays descriptions that help people understand what each widget does. It generally works well to begin a description with an action verb — for example, “See the current weather conditions and forecast for a location” or “Keep track of your upcoming events and meetings.” Avoid including unnecessary phrases that reference the widget itself, like “This widget shows…,” “Use this widget to…,” or “Add this widget.” Use approachable language and sentence-style capitalization. Group your widget’s sizes together, and provide a single description. If your widget is available in multiple sizes, group the sizes together so people don’t think each size is a different widget. Provide a single description of your widget — regardless of how many sizes you offer — to avoid repetition and to help people understand how each size provides a slightly different perspective on the same content and functionality. Consider coloring the Add button. After people choose your app in the widget gallery, an Add button appears below the group of widgets you offer. You can specify a color for this button to help remind people of your brand. Not supported in tv OS or vision OS.i OS, i Pad OSWidgets on the Lock Screen are functionally similar to watch complications and follow design principles for Complications in addition to design principles for widgets. Provide useful information in your Lock Screen widget, and don’t treat it only as an additional way for people to launch into your app. Additionally, the vibrant rendering mode that widgets on the Lock Screen use is similar to the accented rendering mode for watch complications because they both communicate information without relying on color only. In many cases, a design for complications also works well for widgets on the Lock Screen (and vice versa), so consider creating them in tandem. Your app can offer widgets on the Lock Screen in three different shapes: as inline text that appears above the clock, and as circular and rectangular shapes that appear below the clock. Support Always-On display on i Phone. Devices with Always-On display render widgets on the Lock Screen with reduced luminance. Use levels of gray that provide enough contrast in Always-On display, and make sure your content is legible. For developer guidance, see Creating accessory widgets and watch complications, Widget Rendering Mode, and vibrant.watch OSProvide a colorful background that conveys meaning. By default, widgets in the Smart Stack use a black background. Consider using a custom color that provides additional meaning. For example, the Stocks app uses a red background for falling stock values and a green background if a stock’s value rises. Specifications As you design your widgets, use the following values for guidance.i OS widget dimensions Screen size (portrait, pt)Small (pt)Medium (pt)Large (pt)Circular (pt)Rectangular (pt)Inline (pt)430×932170 x 170364 x 170364 x 38276 x 76172 x 76257 x 26428 x 926170 x 170364 x 170364 x 38276 x 76172 x 76257 x 26414 x 896169 x 169360 x 169360 x 37976 x 76160 x 72248 x 26414 x 736159 x 159348 x 157348 x 35776 x 76170 x 76248 x 26393 x 852158 x 158338 x 158338 x 35472 x 72160 x 72234 x 26390 x 844158 x 158338 x 158338 x 35472 x 72160 x 72234 x 26375 x 812155 x 155329 x 155329 x 34572 x 72157 x 72225 x 26375 x 667148 x 148321 x 148321 x 32468 x 68153 x 68225 x 26360 x 780155 x 155329 x 155329 x 34572 x 72157 x 72225 x 26320 x 568141 x 141292 x 141292 x 311 N/AN/AN/Ai Pad OS widget dimensions Screen size (portrait, pt)Target Small (pt)Medium (pt)Large (pt)Extra large (pt)768 x 1024 Canvas 141 x 141305.5 x 141305.5 x 305.5634.5 x 305.5 Device 120 x 120260 x 120260 x 260540 x 260744 x 1133 Canvas 141 x 141305.5 x 141305.5 x 305.5634.5 x 305.5 Device 120 x 120260 x 120260 x 260540 x 260810 x 1080 Canvas 146 x 146320.5 x 146320.5 x 320.5669 x 320.5 Device 124 x 124272 x 124272 x 272568 x 272820 x 1180 Canvas 155 x 155342 x 155342 x 342715.5 x 342 Device 136 x 136300 x 136300 x 300628 x 300834 x 1112 Canvas 150 x 150327.5 x 150327.5 x 327.5682 x 327.5 Device 132 x 132288 x 132288 x 288600 x 288834 x 1194 Canvas 155 x 155342 x 155342 x 342715.5 x 342 Device 136 x 136300 x 136300 x 300628 x 300954 x 1373 \*Canvas 162 x 162350 x 162350 x 350726 x 350 Device 162 x 162350 x 162350 x 350726 x 350970 x 1389 \*Canvas 162 x 162350 x 162350 x 350726 x 350 Device 162 x 162350 x 162350 x 350726 x 3501024 x 1366 Canvas 170 x 170378.5 x 170378.5 x 378.5795 x 378.5 Device 160 x 160356 x 160356 x 356748 x 3561192 x 1590 \*Canvas 188 x 188412 x 188412 x 412860 x 412 Device 188 x 188412 x 188412 x 412860 x 412\* When Display Zoom is set to More Space.watch OS widget dimensions Apple Watch size Size of a widget in the Smart Stack (pt)40 mm 152 x 69.541 mm 165 x 72.544 mm 173 x 76.545 mm 184 x 80.549 mm 191 x 81.5