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

Components


  • Action card
  • Alert
  • Anchor navigation
  • App layout
  • App layout toolbar
  • Attribute editor
  • Autosuggest
  • Badge
  • Board components
    • Board
    • Board item
    • Items palette
  • Box
  • Breadcrumb group
  • Button
  • Button dropdown
  • Button group
  • Calendar
  • Cards
  • Charts
    • Cartesian charts
    • Pie and donut charts
  • Charts (Legacy)
    • Bar chart
    • Line chart
    • Area chart
    • Mixed line and bar chart
    • Pie and donut charts
  • Checkbox
  • Code editor
  • Code view
  • Collection preferences
  • Collection select filter
  • Column layout
  • Container
  • Content layout
  • Control group
  • Copy to clipboard
  • Date input
  • Date picker
  • Date range picker
  • Dialog
  • Divider
  • Drawer
  • Dropdown
  • Error boundary
  • Expandable section
  • File uploading components
    • File dropzone
    • File token group
    • File input
    • File upload
  • Flashbar
  • Form
  • Form field
  • Generative AI components
    • Avatar
    • Chat bubble
    • Loading bar
    • Prompt input
    • Support prompt group
  • Grid
  • Header
  • Help panel
  • Icon
  • Icon provider
  • Input
  • Item card
  • Key-value pairs
  • Link
  • List
  • Live region
  • Modal
  • Multiselect
  • Navigable group
  • Pagination
  • Panel layout
  • Popover
  • Progress bar
  • Property filter
  • Radio button
  • Radio group
  • S3 resource selector
  • Segmented control
  • Select
  • Side navigation
  • Skeleton
  • Slider
  • Space between
  • Spinner
  • Split panel
  • Status indicator
  • Steps
  • Table
  • Table atomic components
    • Examples
    • Table root
    • Table head
    • Table header cell
    • Table body
    • Table row
    • Table body cell
  • Tabs
  • Tag editor
  • Text content
  • Text filter
  • Text area
  • Tiles
  • Time input
  • Toggle
  • Toggle button
  • Token
  • Token group
  • Tooltip
  • Top navigation
  • Tree view
  • Truncated text
  • Tutorial components
    • Annotation context
    • Hotspot
    • Tutorial panel
  • Wizard
  1. Cloudscape Design System
    • Components
    • Table atomic components
    • Examples
    1. Cloudscape Design System
    2. Components
    3. Table atomic components
    4. Examples

    Examples

    Examples of tables composed with the table atomic components.

    On this page

    1. Sorting, selection, filtering and pagination
    2. Grid layout playground
    3. Virtualization

    About this page

    Published: November 12, 2026

    Did this page help you?

    Your feedback helps us improve our documentation.
    Provide additional feedback

    Sorting, selection, filtering and pagination

    With the table atomic components, you compose sorting, selection, filtering and pagination yourself. This example shows one way to do it, using the collection hooks to manage the items and the atomic components to render the table, including its loading, empty and no-match states.

    Instances (42)

    Displaying instances 1 to 10 of 42
    Instance ID
    State
    Availability zone
    web-server-01
    i-1a2b3c4d
    t3.micro
    Running
    us-east-1a
    2026-01-01
    web-server-02
    i-1a2b5b3c
    c5.xlarge
    Pending
    us-east-1a
    2026-01-12
    web-server-03
    i-1a2b7a2b
    m5.large
    Stopped
    us-east-1a
    2026-01-23
    web-server-04
    i-1a2b991a
    t3.small
    Running
    us-east-1b
    2026-02-03
    web-server-05
    i-1a2bb809
    t3.micro
    Pending
    us-east-1b
    2026-02-14
    web-server-06
    i-1a2bd6f8
    c5.xlarge
    Stopped
    us-east-1b
    2026-02-25
    web-server-07
    i-1a2bf5e7
    m5.large
    Running
    us-west-2a
    2026-03-08
    web-server-08
    i-1a2c14d6
    t3.small
    Pending
    us-west-2a
    2026-03-19
    web-server-09
    i-1a2c33c5
    t3.micro
    Stopped
    us-west-2a
    2026-03-30
    web-server-10
    i-1a2c52b4
    c5.xlarge
    Running
    eu-west-1c
    2026-04-10

    Grid layout playground

    In grid layout, table root renders the table as a CSS grid, and you set the width of each column up front. A column can have a fixed width, share the remaining space with other columns by weight, or grow up to a maximum width, and flexible columns can also have a minimum width. Use this playground to try each kind of column, and switch the container width to see minimum widths make the table scroll horizontally instead of squeezing its columns.

    Name
    Type
    Size
    Status
    columnLayout={{ type: 'grid', columns: [{"size":{"flex":2},"minWidth":160},{"size":{"flex":1},"minWidth":120},{"size":120},{"minWidth":100,"maxWidth":200}] }}

    Resources (6)

    Name
    Type
    Size
    Status
    analytics-pipeline-primary
    Stream
    12 GB
    Active
    customer-records
    Database
    840 GB
    Active
    image-thumbnails
    Bucket
    3.1 TB
    Archived
    nightly-report-job
    Function
    45 MB
    Disabled
    session-cache
    Cache
    6 GB
    Active
    web-frontend-assets
    Bucket
    210 GB
    Pending deletion

    Virtualization

    The table atomic components don't virtualize rows themselves, but they expose the properties a virtualization library needs. Table body and table row take a position style for placing rows, and the row count on table root and row index on table row let assistive technologies announce every row, not only the rendered ones. This example connects them to TanStack Virtual to render 10,000 rows in a scroll container with a sticky header. For a table that scrolls with the page, use TanStack's window virtualizer instead.

    Products (10,000)

    Name
    Category
    Price
    Stock
    Rating
    Name
    Category
    Price
    Stock
    Rating

    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