Use gadgets to give users fast access to personally relevant information and simple tasks. Great gadgets do a single, well-defined task very well.
Is this the right user interface?
Design concepts
Usage patterns
Guidelines
Controls
States
Interaction
Animation and sound
Options dialog boxes
Windows integration
Recommended sizing and spacing
Documentation
Gadgets are simple mini-applications that give users fast access to personally relevant information and simple tasks—without getting in the way. For example, the Weather Gadget provides real-time information that is available at a glance, and the CPU Meter Gadget provides system information that users are interested in monitoring. Gadgets are visually attractive and optimized to do a single task very well.
Gadgets are part of the desktop, like the Start button, taskbar, and notification area. Unlike normal windows, they aren't represented with a taskbar button.
In Windows Vista®, gadgets are normally hosted in the Sidebar, which is a region on the side of the desktop. Besides being attached to, or docked, in the Sidebar, gadgets can also be detached from the Sidebar to float anywhere on the desktop.
In Windows 7, there is no Sidebar, so gadgets can be moved freely to any location on the desktop that the user chooses. By default, they are snapped into place along the screen edge to keep them organized.
A gadget has two sizes: small and large. The small size is used to display the information concisely, whereas the large size displays the information in detail. In Windows Vista, these sizes correspond to whether they are docked or floating. When docked, they run in their small size, and when floating they run in their large size. By default in both Windows Vista and Windows 7, the gadget is added to the desktop in its concise, docked state.
These guidelines apply to both Windows Vista and Windows 7 gadgets. You can develop a single gadget that runs on both versions of Windows; however, there are some new features in Windows 7 that you should consider. One difference when designing for Windows 7 is that you should expect gadgets to be displayed in detailed states more often.
Gadgets can have flyouts that temporarily show more information. Flyouts are displayed by clicking the gadget, and dismissed by clicking anywhere outside the flyout. Flyouts work with either gadget size.
Finally, gadgets can have an options dialog box for settings and customization.
In this example, the Weather Gadget (lower left) shows weather information, and the RSS Gadget (center right) is shown with a blog headline flyout.
An example of an options dialog box.
Developers: You can learn how to create gadgets with the Gadget Development Overview.
Note: Guidelines related to the layout are presented in a separate article.
To decide, consider these questions:
There are several keys to a successful gadget.
A good gadget provides functionality that is useful all the time. If not, users are likely to close the gadget to make the most of their limited desktop space. Gadgets are especially useful for monitoring information, providing functionality that is used throughout the day, and for fun activities like puzzles.
An effective gadget works well in the periphery. Its functionality is easily accessible, but not distracting. Remember that gadgets are shown on the desktop all the time but aren't actively used all the time. You want users to stay focused on their main task. Users will learn where to find your gadget through visual and motor memory, and will be able to access it quickly when needed.
A great gadget does a single, well-defined task very well. Omit extraneous functionality, and make core functionality very easy to access. Use large fonts for the most important information and ensure that the most common activity requires very few clicks. It's better to have multiple gadgets optimized for a single task than one gadget that tries to do everything. By doing so, you give users more control over the functionality they use.
Incorrect:
Correct:
In the incorrect example, the all-in-one gadget is trying to do several things, but it does none of them well. The single-task gadgets do their tasks better and also give users more control over the functionality they use.
The best gadgets use a visual theme that suitably indicates their singular task. Avoid making the gadget look like a box with a label, an icon, and content. Use meaningful illustrations that convey important information. If your gadget has the functionality of a real appliance, design the gadget to look like or suggest that appliance. For example, make a clock gadget look like a real clock, and a calendar gadget like a real calendar.
When there isn't a direct mapping, try to use visual elements from a real world object that are closely related in a few key ways. For example, a CPU meter can look like a speedometer because they both indicate performance. A currency converter can look like a credit card because they both relate to currency and travel. While these loose analogies are sometimes hard to find, they can make your gadget visually stimulating and uniquely attractive.
Acceptable:
Better:
In the better example, the gadget uses a credit card metaphor to allude to currency and travel, with a world map background that supports this theme. It also uses uppercase text patterned after the text found on credit cards. By contrast, the first example gadget is a simple box with two fields. Although it displays the information, it is not as rich and compelling as the recommended example.
If there is no suitable visual theme, you can use color and shape to demonstrate its purpose visually.
In this example, the gadget uses shapes and colors to indicate the direction in which stocks and market indices are moving.
Lastly, regardless of what visual styles you choose, make your gadget visually attractive. The desktop is prime screen space, and is often seen by users. If you can, work with a professional designer to find an appropriate visual theme and make your gadget look great.
Compared to other Microsoft® Windows® areas, gadgets are especially freeform. There isn't a fixed set of building blocks that can be combined to create a standard looking user interface. This flexibility makes it possible to create uniquely great gadgets, as well as not-so-great ones. Make your gadget unique through its functionality and visualization, but use standard Windows interactions.
If you do only five things...
1. Perform a single, well-defined task very well.
2. Provide functionality that is useful all the time.
3. Make sure the gadget works well in the periphery by being quickly accessible while not being distracting.
4. Use a visually attractive theme that indicates the gadget's singular task.
5. Make your gadget unique through its functionality and visualization, but use standard interactions.
Gadgets have several usage patterns:
|
Information gadgets display timely, often aggregated information that changes throughout the day. |
This gadget shows up-to-date weather conditions. |
|
Utility gadgets provide functionality that is useful throughout the day. |
Users can quickly view a calendar. |
|
Fun gadgets give users a fun way to pass time. |
Fun gadgets are often more distracting than other types of gadgets. As a result, users are likely to change them more frequently.
This picture puzzle gadget is an example of a game to pass time. |
It's important to keep these patterns separated. It's easy to imagine a fun utility gadget becoming tiresome after a couple weeks, or simply taking up more screen space than is justified.

In this example, it's more important for users to read the data in the gadget's passive state. The controls at the bottom of the gadget are hidden until users interact with it.

An example of a tooltip with a control label.

The Stocks Gadget uses a custom scrollbar that is smaller and has a color that matches the gadget.

Examples of standard glyphs for common tasks in gadgets.

In this gadget, users can page through four headlines at a time.

In this example, the detailed/floating and concise/docked have the same functionality, but the detailed/floating gadget shows more content.
The following table compares the appropriate functionality for concise/docked gadgets, detailed/floating gadgets, flyouts, and full applications:
| State | Appropriate functionality |
| Concise/docked | Core functionality that is always useful. |
| Detailed/floating | Additional functionality that is always useful. |
| Flyout | Secondary functionality that is sometimes useful. |
| Full application | Complex functionality that requires full attention or is more time intensive. |
While gadgets may reflect loss of connectivity, they don't have to draw attention to it because users are likely to discover connectivity loss through traditional means, such as the network notification area icon or their Web browser.

These examples show offline and loading states.

In this example, the in-place user input problem needs no icon.
For more guidelines on error, warning, and information message icons, see Standard Icons.

The options dialog box is accessed through the Options button in the upper-right corner of the gadget.

Recommended sizing for gadgets in the detailed/floating and concise/docked states.

Recommended sizing for an options dialog box.
When referring to Windows Desktop Gadgets: