Cloudscape Design System
  • Get started
  • Foundation
  • Components
  • Patterns
  • Demos
  • Gen AI
  • GitHub 
Cloudscape Design System
  • Get started
  • Foundation
  • Components
  • Patterns
  • Demos
  • Gen AI
  • GitHub 
  • About

Get started


  • For designers

    • Start designing
    • Design resources

  • For developers

    • Start developing
    • Using Cloudscape components
    • Global styles
    • Built-in internationalization
    • AI Tools Support

  • Testing

    • Introduction to testing
    • Testing frameworks integration
    • Testing classes

  • Development guides

    • Bidirectionality
    • Charts migration
    • Collection hooks package
    • Content security policy (CSP)
    • Flexible iconography
    • Responsive development
    • State management
    • Z-index
  1. Cloudscape Design System
    • Get started
    • Development guides: Responsive development
    1. Cloudscape Design System
    2. Get started
    3. Development guides: Responsive development

    Responsive development

    Responsive development requirements and best practices for building responsive interfaces.

    On this page

    1. Responsiveness of Cloudscape components
    2. Custom components
    3. Generic guidelines

    About this page

    Published: March 26, 2021

    Did this page help you?

    Your feedback helps us improve our documentation.
    Provide additional feedback

    Responsiveness of Cloudscape components

    The concept of responsiveness is often mapped to CSS media queries , which allow you to specify CSS rules depending on the size of the viewport. However, the size of the viewport shouldn't be the only criterion taken into account when designing a layout for your interface. The available real estate depends also on the state of the application. For example, the available space for the content of a page depends on whether the navigation or tools drawers of your application layout are open or closed.

    Cloudscape components change their layout based on the size of the root HTML element that contains them, rather than the size of the viewport. This concept is known as element queries. The element width is compared to a set of predefined breakpoints  to define its behavior.

    Custom components

    When you create your own components, use the grid and column layout components to create a responsive behavior.

    Generic guidelines

    • Configure the browser’s viewport by adding this meta tag into the head of your page: <meta name="viewport" content="width=device-width, initial-scale=1">

      • width=device-width instructs the browser to match the device’s resolution and pixel density.

      • initial-scale=1 establishes a 1:1 relationship between CSS pixels and device-independent pixels.

      • Avoid using minimum-scale and maximum-scale.These prevent the user from scaling the page properly.

    • Don't make the user scroll horizontally, or zoom out. Avoid using large, fixed-width elements.

    Did this page help you?

    Your feedback helps us improve our documentation.
    Provide additional feedback
    • About
    • Connect
    • Privacy 
    • Site terms 
    • © 2026, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    Made with ❤️ at AWS