Pixels are small and hands are big—it’s hard to be precise with a mouse.
Help people precisely position things where they want by creating a larger “magnetic” boundary in relation to potential targets.
Magnetism functions primarily in terms of Fitt’s Law by invisibly increasing the size of the target. People often want to align things precisely, even to the pixel, or quickly position items on the edges of a view or in relation to each other. Doing this w/o help can be difficult and frustrating for all but the most adept users and near impossible when using touch-based input. Magnetism helps by inferring the target based on proximity and some predetermined parameters that suggest likely targets. In general, it makes people both feel and be more productive and applications smarter.
If your solution involves manual positioning of objects on a view, see if you can enhance the experience with magnetism. Determine if there are either common target areas for objects, such as:
Also consider that sometimes you want the magnetism to function as well when moving objects away from their targets. For instance, if you have a toolbar stuck to the edge of a view, you may want to require more than a couple pixels of dragging to undock it from the edge so that people don’t accidentally undo alignments.
The primary example is from Microsoft Outlook 2007 which uses a form of magnetism to help people stick toolbars easily to the edges of the interface.
http://quince.infragistics.com/10yd
Visual Studio 2005 and up uses magnetism to help users align controls in a form. As in the example below, when you drop a control in a form near the left border of the control above, it tries to align the left borders. If it’s close to the control above, it will try to keep a margin between both controls. Without magnetism, it requires a lot of work to have to align all the controls.
http://quince.infragistics.com/118w
Google Talk automatically snaps the chat windows to the main one when you move it close to it.
http://quince.infragistics.com/1109
OmniGraffle’s palettes use magnetism to snap to each other and also have a neat, strong magnetism to snap to the edges of the screen itself to make it really easy to position them on the edges.
http://quince.infragistics.com/10ve
Microsoft Expression Blend 2 uses magnetism to help people align things to guides and gridlines. They call it “snapping.”
http://quince.infragistics.com/11cu
Visual Studio 2005 and up provide an interesting alternative to magnetism. When you have Movable Panels, it provides affordances to let you more easily dock windows.
http://quince.infragistics.com/11f5
Wikipedia, Fitt’s Law
Jennifer Tidwell, Designing Interfaces
Usability, Builders and Editors, Alignment, Interaction Design, Page Layout, Customization.