The Table component is used to display data in a structured, grid-like format, making it easy to compare and analyse information.
The generic table is composed by two micro-components: Header and Cells
List
: Use for simple data collections that don’t require complex comparisons.Card
: Ideal for presenting individual data points with rich media or actions.Chart
: Better for visualizing trends, distributions, and relationships in the data.<th>
) and ensure they are properly scoped to rows or columns using the scope
attribute.aria
roles and properties to convey additional information about the table structure and interactive elements to screen readers.