Cloudscape Design System
  • Get started
  • Foundation
  • Components
  • Patterns
  • Demos
  • GitHub 
Cloudscape Design System
  • Get started
  • Foundation
  • Components
  • Patterns
  • Demos
  • GitHub 
  • About
  1. Cloudscape Design System
    • Components
    • File uploading components
    1. Cloudscape Design System
    2. Components
    3. File uploading components

    File uploading components

    Components that allow users to upload files.

    On this page

    1. Related components
    2. How the components work together

    About this page

    Published: November 13, 2024

    Did this page help you?

    Your feedback helps us improve our documentation.
    Provide additional feedback

    Related components

    File dropzone

    An area that allows users to drag and drop files.

    File input

    A trigger that allows users to select one or more files to upload.

    File token group

    A collection of uploaded files displayed as tokens.

    File upload

    File upload is a form element. Users can use it to select one or multiple local files to upload. The files can then be uploaded upon form submission or processed further in the browser.

    How the components work together

    File uploading consists of four components: one parent component and three sub-components. These components can be configured together to create a full file upload experience.

    The file upload is a pre-built combination of a file input, file token group, and file dropzone. The file input is the trigger that allows the user to select files to upload. The file token group is the set of uploaded files displayed as tokens. The file dropzone is an area where a user can drag and drop files in order for them to be uploaded.

    The file upload component covers standard use cases for file uploading, including in forms and create flows, and, in most cases, is the only component you need. For other use cases, you may need more flexible layouts for uploading files. Examples of this include placing the file tokens in a separate area from the file input, showing file data in a table instead of tokens, or showing the file dropzone even before a file is being dragged. In these cases, you can use the three sub-components in different combinations to create unique layouts.

    For an example of all three file uploading components working together, see the prompt input.

    Did this page help you?

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