Home screen widget

On this page 7

A home screen widget is a compact, self-updating view of an application that sits directly on the home screen of a smartphone or tablet and shows glanceable information or offers one-tap actions without launching the full app. In Mobile fundamentals, widgets are the main way an app extends its presence beyond its own window, turning the launcher into a personalized dashboard of weather, calendar entries, music controls, fitness rings or smart home switches.

Widgets are not miniature apps running continuously. On both major platforms they are rendered snapshots produced by the app on a schedule or in response to events, then displayed by the system launcher. This design keeps battery and memory cost low, but it also limits what a widget can do, how often it refreshes and how interactive it can be.

How a home screen widget is rendered and updated

A home screen widget works by separating content production from content display: the app describes what the widget should show, and the launcher process draws it. On Android, the classic mechanism is the AppWidgetProvider with RemoteViews, a serializable description of a limited layout that the launcher inflates in its own process. The newer Jetpack Glance library lets developers write widgets in a Compose-style syntax that is translated into RemoteViews underneath.

On iOS and iPadOS, widgets are built with WidgetKit and SwiftUI. The app supplies a timeline provider that returns a series of entries, each with a date and the content to show at that moment. The system renders those entries ahead of time and swaps them in at the scheduled dates, which is why an iOS widget can display a countdown or the next calendar event without the app running.

The table below summarizes the core building blocks on each platform.

AspectAndroidiOS and iPadOS
FrameworkAppWidgetProvider, Jetpack GlanceWidgetKit with SwiftUI
Layout descriptionRemoteViews (restricted view set)SwiftUI views rendered as snapshots
Update modelPeriodic updates, broadcasts, WorkManagerTimeline entries and reload policies
Minimum periodic interval30 minutes via updatePeriodMillisSystem-budgeted, typically several per hour at most
InteractivityButtons, lists, toggles via PendingIntentButtons and toggles via App Intents since iOS 17
PlacementHome screen, some launchers on lock screenHome screen, Today View, lock screen, StandBy
Widget architecture on the two major mobile platforms

Widget sizes, types and interaction levels

Widgets come in grid-based sizes measured in home screen cells, and the chosen size determines how much information fits and which interactions make sense. Android lets users resize widgets freely within limits the developer declares, while iOS offers fixed families such as small, medium, large and extra large on iPad.

Beyond size, widgets differ in purpose. The following table groups the common types by what they are designed to do.

Widget typeWhat it shows or doesTypical examples
Information widgetDisplays changing data at a glanceWeather, stocks, calendar agenda
Control widgetToggles a setting or starts an actionFlashlight, smart lights, music playback
Collection widgetScrollable list or grid of itemsEmail inbox, to-do list, news headlines
Hybrid widgetCombines data with a few actionsFitness summary with a start-workout button
Shortcut widgetDeep links into specific app screensContact speed dial, saved navigation route
Common widget types and their typical use

Interaction has expanded steadily. Early iOS widgets could only open the app; since iOS 17, interactive widgets can run small App Intents in place, such as checking off a reminder. Android has supported in-widget buttons and scrollable lists for much longer, although each action still triggers a broadcast or intent rather than running arbitrary code inside the launcher.

A widget is one of several elements that share the home screen, and confusing them leads to wrong design decisions. An app icon is a static launcher entry, a shortcut is a deep link to a single task, and a live notification or Live Activity is a temporary, event-driven surface. The widget is the only element that is persistent and data-rich at the same time.

ElementPersistenceShows live dataMain purpose
Home screen widgetStays until removedYes, on a refresh scheduleGlanceable status and quick actions
App iconStays until removedOnly a badge countLaunch the app
App shortcutLong-press menu or pinnedNoJump to a specific task
Live Activity or ongoing notificationLasts for an eventYes, near real timeTrack a delivery, ride or match
App drawer entryAlways presentNoComplete list of installed apps
Widgets compared with neighboring home screen surfaces

Widgets also interact with platform policies discussed under Background App Refresh and the app lifecycle: because the app is usually not running, the widget depends on system-granted update budgets rather than on the app keeping itself alive.

Designing and choosing a useful widget

A good widget answers one question in under two seconds, such as what the weather will be or what the next meeting is. Platform design guidelines from both Google and Apple stress focused content, legible typography at small sizes, support for light and dark appearance and graceful handling of missing data, for example a placeholder state while the first update loads.

The decision table below helps product teams match a goal to an appropriate widget approach.

GoalRecommended approachReason
Show slowly changing statusSmall information widget, hourly refreshLow battery cost, high glance value
Track a time-critical eventLive Activity or ongoing notificationWidgets cannot refresh fast enough
Offer a frequent single actionControl widget with one buttonSaves opening the app each time
Browse recent itemsCollection widget on Android, large widget on iOSLists need space and scrolling support
Encourage daily engagementPersonalized content with deep linksRelevance drives retention, not novelty
Matching product goals to widget design choices

Teams should also plan for configuration. Users expect to choose a city for a weather widget or a list for a to-do widget, which Android handles with a configuration activity and iOS with widget intents that appear when the user edits the widget.

Limitations, risks and common mistakes

The most common misconception is that widgets update in real time. In practice, operating systems throttle refreshes to protect battery life, so a widget that promises to the second accuracy will often show stale data. Developers should display a last updated time whenever freshness matters.

  • Privacy exposure: widgets on the home screen or lock screen can reveal messages, balances or health data to anyone holding the device; sensitive widgets should support redaction.
  • Battery drain: forcing frequent updates through background services or push messages defeats the system budget and harms the user experience.
  • Launcher fragmentation: on Android, third-party launchers and manufacturer skins may render sizes, corner radii and padding differently.
  • Overloaded layouts: cramming many data points into a small widget reduces readability and defeats the glanceable purpose.
  • Broken deep links: tapping a widget that opens the app’s start screen instead of the relevant item frustrates users.

A non-technical view

A home screen widget is like a small window into an app that you place right on your phone’s main screen. Instead of opening the weather app, you simply look at the widget and see today’s temperature. Some widgets also have a button, so you can turn on a light or pause music with one tap.

The phone updates these windows every so often, not every second, to save battery. That is why a widget may sometimes show information that is a few minutes old. The key idea is convenience: the most useful facts from your favorite apps, visible the moment you pick up the phone.

A concrete example

A regional public transit agency adds widgets to its mobile app so commuters can see departures without opening it. Riders choose their usual stop during widget configuration, and a medium widget shows the next three departures with platform numbers and a small last updated label.

Because the system limits refreshes, the team builds the iOS timeline from the published timetable, so each departure rolls off on schedule even when no network update arrives. On Android, a periodic update every 30 minutes adds delay information, and a refresh button lets riders request fresh data before leaving home.

After launch, riders who add the widget open the full app less often but check departures more often, and support requests about missed connections fall. The outcome shows the widget’s real value: fast, reliable answers to one recurring question, delivered right on the home screen.