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

Get started


  • Guides

    • Get started for designers
    • Get started for developers

  • Resources

    • Design resources

  • Integration

    • Using Cloudscape components
    • Global styles

  • Development guides

    • Collection hooks package
    • Content security policy (CSP)
    • Responsive development
    • State management
    • Z-index
    • Built-in internationalization
    • Bidirectionality

  • Testing

    • Introduction to testing
    • Testing frameworks integration
    • Testing core classes
  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.

    Published: March 26, 2021

    On this page

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

    Did this page help you?

    Tell us more - optional

    1000 character(s) available. Do not disclose any personal, commercially sensitive, or confidential information.

    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?

    Tell us more - optional

    1000 character(s) available. Do not disclose any personal, commercially sensitive, or confidential information.
    • About
    • Connect
    • Privacy 
    • Site terms 
    • © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    Made with love atAWS