{%- extends "theming/base_component.html" -%} {%- block overview -%}

The table component creates table containers that organize data in rows and columns, providing a structured format for displaying related information. Tables are fundamental for presenting tabular data in an organized, scannable format that allows users to compare values and identify patterns.

Table components work with several related components to create complete table structures: table_head for headers, table_body for main content, table_row for individual rows, and table_cell for individual data cells. This component provides the overall container structure and handles responsive behavior to ensure tables remain usable across different devices.

Usually table is implemented using native HTML <table> elements, which provide inherent accessibility and semantic structure for tabular data. The component ensures that tables are styled consistently with the overall design system while maintaining proper spacing, borders, and alignment to enhance readability and usability.

Nevertheless, some themes may implement table using different HTML elements. Because of it, it's safer to user table_row, table_cell, table_head, and table_body components instead of tr, td, thead, and tbody HTML tags unless you are sure that the theme you are using implements table component using native HTML table elements.

{%- endblock %} {%- block parameters -%}

Table

{{ super() }}

Table cell

{{ parameters_table("table_cell") }} {%- endblock %}