w1c-data-table
Data Table
w1c-data-table frames row elements as a dense ARIA table grid.
import '@w1c/components/data-table';<w1c-data-table striped style="--w1c-data-table-columns: 1.4fr 1fr 1fr;">
<span slot="caption">Network shares</span>
<div slot="head" role="row">
<span role="columnheader">Name</span>
<span role="columnheader">Type</span>
<span role="columnheader">Status</span>
</div>
<div role="row" aria-selected="true">
<span role="cell">Public</span>
<span role="cell">Folder</span>
<span role="cell">Mounted</span>
</div>
</w1c-data-table>API
compactstriped
Slots
captionhead- default body rows
foot
Parts
chrometablecaptionheadbodyfoot
Accessibility
Use role="row", role="columnheader", and role="cell" on slotted markup when the row content is not already semantic.