Guidelines for touch targets
The default touch target size for UWP is about creating confidence and comfort for users. The size of elements on the screen has been optimized in UWP allowing developers to create well balanced applications, while ensuring users are can interact with on screen elements with ease.
Fluent standard sizing
Fluent standard sizing was created to provide a balance between information density and user comfort. Effectively, all items on the screen align to a 40x40 effective pixels (epx) target, which lets UI elements align to a grid and scale appropriately based on system level scaling.
In general, set your touch target size to 7.5mm square range (40x40 pixels on a 135 PPI display at a 1.0x scaling plateau). On average UWP controls align with 7.5mm touch target. Based on the specific control and common usage patterns the touch target may vary.
For more info on effective pixels and scaling, see Introduction to UWP app design
For more info on system level scaling, see Alignment, margin, padding.
Fluent compact sizing
Applications can display a higher level of information density with Fluent compact sizing. Compact sizing aligns UI elements to a 32x32 epx target, which lets UI elements to align to a tighter grid and scale appropriately based on system level scaling.
In general, set your touch target size to 7.5mm square range (40x40 pixels on a 135 PPI display at a 1.0x scaling plateau). On average UWP controls align with 7.5mm touch target (this can vary based on the specific control and any common usage patterns).
These target size recommendations can be adjusted as required by your particular scenario. Here are some things to consider:
- Frequency of Touches - consider making targets that are repeatedly or frequently pressed larger than the minimum size.
- Error Consequence - targets that have severe consequences if touched in error should have greater padding and be placed further from the edge of the content area. This is especially true for targets that are touched frequently.
- Position in the content area.
- Form factor and screen size.
- Finger posture.
- Touch visualizations.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.