Table
Accessible tabular data with explicit headers.Examples
Installation
Install the package, then import only the components a route uses. Exports are tree-shakable.
Install
pnpm add fractalsvelteImport
<script lang="ts">
import { Table } from 'fractalsvelte';
</script>Usage
Usage
<script lang="ts">
import { Table } from 'fractalsvelte';
</script>
<Table columns={columns} rows={rows} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
columns | Column[] | - | Column definitions. |
rows | Row[] | - | Row data keyed by column. |
caption | string | - | Accessible caption for the table. |
