Layout and scaling for your Microsoft Teams app
A grid layout allows your app to be consistent and guarantees recognizable relationships between design components. You can learn about your grid system and tips for scaling and zoom levels in your app to pass submission criteria.
Scaling and responsive design are essential to all Teams apps so that users can successfully interact with all interfaces with certainty. In order to pass Microsoft Teams Store review, the entire text must be visible and not truncated.
Layout design
The 4-pixel base unit of grid allows components to scale consistently across all display sizes in Teams. In the following example, the corner radius of each button is 4 pixels.
Always follow the grid
Make it responsive
Use white space
Scaling and responsive
Mobile
Mobile designs must be 320 pixels.
Desktop
The minimum size for desktop is 550 pixels.
Example for 550 pixels
Example for 2560 pixels
Page orientation
Mobile
Note
Apps in Teams mobile support both landscape and portrait mode.
Portrait mode
Landscape mode
Best practices
Do: Use word wrap so that text is legible at all zoom levels
Avoid text overlap and truncation.
Don’t: Let text and buttons shift and overlap as zoom level changes
Overlapping text and buttons might not meet our accessibility standards.
Do: Use word wrap so that text is legible at all widths
Avoid truncation with reflow, prioritizing call to actions (CTAs), and action items.
Don’t: Let text or CTAs get cut off or become illegible as window width changes
Without word wrapping, the text and CTAs aren't usable.
Do: Ensure your app is legible at 200% scale
Use responsive design to avoid text overlap and truncation.
Don’t: Truncate and cut off content at any zoom level
It's recommended to test up to 200% zoom.
Do: Text and colors for accessibility
The entire text must be visible and used for all users, meaning that it must exceed certain color ratios, depending on its usage. To check your contrast levels, check out the WebAIM contrast checker.
Don’t: Submit your app with text that doesn’t pass contrast standards
Teams apps need to be accessible to all users with any level of visual impairment or disability. Submissions with inaccessible text aren't accepted.
Do: Test your app at 1920 x 1080 resolution
Avoid text overlap and truncation.
Don’t: Submit your app for review without testing at Teams default resolution
Your app might not pass the submission process if there are issues at 1920 x 1080 resolution.
Do: Test mobile app for responsiveness
Mobile view of your app must be responsive, similarly to the narrowest responsive breakpoint of a web app.
Don’t: Allow truncation on your mobile app
Nothing must be cut off or illegible on your mobile app.
Do: Ensure headers are always legible at all zoom levels
If the headers truncate, use a tooltip so that users can read headers by hovering.
Don’t: Truncate headers without a hover feature
Your app won't pass Teams submission if it has illegible headers without hover functionality.
Page orientation FAQs
Do I need to make any changes in the app to get the landscape mode?
No. You can use apps in landscape mode by default.
What if my app doesn't support one of the modes, or if the scenario is only intended to work in one of the modes?
Teams supports both modes by default. The apps in Teams aren't supported to work in one mode only. If your app demands this requirement, reach out to the support team.
How can I fix the scroll missing in the app empty state?
Add <FlexColumn scroll></FlexColumn>
to the empty state for the app.
How can I test my app compatibility in both landscape and portrait modes?
To test your app's compatibility in both modes, run the app on Teams mobile in different device orientations. Ensure that all elements, including buttons, text, and images are correctly aligned and displayed without any UI distortions or cut-offs.
Are there any best practices for designing apps that work well in both landscape and portrait modes?
Yes, when designing apps for Teams, it's essential to follow responsive design principles to ensure optimal performance and user experience in both landscape and portrait modes. Use flexible layouts and adaptive components to accommodate different screen sizes and orientations.Does landscape mode support both Android and iOS Teams apps?
Yes, the landscape mode is supported on both Android and iOS Teams apps, providing consistent experience for users across both platforms.
Can I customize the app's behavior differently for landscape and portrait modes?
The behavior of the app remains consistent across both modes. However, if you have specific use cases or requirements that require different behaviors in each mode, reach out to the support team with your feedback and suggestions.
Is there any impact on the performance of apps in landscape mode?
No, the landscape mode support in Teams doesn't have any negative effect on app performance. Teams ensures a smooth and seamless experience for users, regardless of the device orientation.
Platform Docs