Table
rows and columns, with lines between them where you want them.
usage
example
| rider | weapon | hits |
|---|---|---|
| a vulture | chain | 4 |
| a vulture | chainsaw | 1 |
| a rottwheeler | mace | 4 |
▴
▾
code
import { Table } from 'charcell/react';
export function TableExample() {
return (
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
/>
);
}▴
▾
<script setup lang="ts">
import { Table } from 'charcell/vue';
</script>
<template>
<Table
:columns="[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]"
:rows="[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]"
/>
</template>▴
▾
<script lang="ts">
import { Table } from 'charcell/svelte';
</script>
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
/>▴
▾
<!-- component: ScrollAreaDriver (behavior not included) -->
<div
class="CharcellScrollArea CharcellScrollArea--stepped CharcellScrollArea--horizontal CharcellScrollArea--overscroll-none"
>
<div class="CharcellScrollArea__viewport" tabindex="0">
<div class="CharcellScrollArea__clip">
<div class="CharcellScrollArea__rows">
<div class="CharcellScrollArea__columns">
<div
class="CharcellTable CharcellTable--row-lines CharcellTable--column-lines"
>
<table class="CharcellTable__table">
<thead class="CharcellTable__head">
<tr class="CharcellTable__row">
<th class="CharcellTable__heading" scope="col">rider</th>
<th class="CharcellTable__heading" scope="col">weapon</th>
<th
class="CharcellTable__heading CharcellTable__heading--end"
scope="col"
>
hits
</th>
</tr>
</thead>
<tbody class="CharcellTable__body">
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chain</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chainsaw</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
1
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a rottwheeler</td>
<td class="CharcellTable__cell">mace</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="CharcellScrollArea__vertical-bar" aria-hidden="true">
<div class="CharcellScrollArea__step">▴</div>
<div class="CharcellScrollArea__vertical-track">
<div class="CharcellScrollArea__vertical-thumb"></div>
</div>
<div class="CharcellScrollArea__step">▾</div>
</div>
<div
class="CharcellScrollArea__horizontal-bar CharcellScrollArea__horizontal-bar--fitting"
aria-hidden="true"
>
<div class="CharcellScrollArea__step"></div>
<div class="CharcellScrollArea__horizontal-track">
<div class="CharcellScrollArea__horizontal-thumb"></div>
</div>
<div class="CharcellScrollArea__step"></div>
</div>
</div>
<!-- /component -->▴
▾
import { Table } from 'charcell/react';
export function TableExample() {
return (
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
caption="bikers on the old mine road"
/>
);
}▴
▾
<script setup lang="ts">
import { Table } from 'charcell/vue';
</script>
<template>
<Table
:columns="[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]"
:rows="[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]"
caption="bikers on the old mine road"
/>
</template>▴
▾
<script lang="ts">
import { Table } from 'charcell/svelte';
</script>
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
caption="bikers on the old mine road"
/>▴
▾
<!-- component: ScrollAreaDriver (behavior not included) -->
<div
class="CharcellScrollArea CharcellScrollArea--stepped CharcellScrollArea--horizontal CharcellScrollArea--overscroll-none"
>
<div
class="CharcellScrollArea__viewport"
tabindex="0"
role="region"
aria-label="bikers on the old mine road"
>
<div class="CharcellScrollArea__clip">
<div class="CharcellScrollArea__rows">
<div class="CharcellScrollArea__columns">
<div
class="CharcellTable CharcellTable--row-lines CharcellTable--column-lines"
>
<table class="CharcellTable__table">
<caption class="CharcellTable__caption">
bikers on the old mine road
</caption>
<thead class="CharcellTable__head">
<tr class="CharcellTable__row">
<th class="CharcellTable__heading" scope="col">rider</th>
<th class="CharcellTable__heading" scope="col">weapon</th>
<th
class="CharcellTable__heading CharcellTable__heading--end"
scope="col"
>
hits
</th>
</tr>
</thead>
<tbody class="CharcellTable__body">
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chain</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chainsaw</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
1
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a rottwheeler</td>
<td class="CharcellTable__cell">mace</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="CharcellScrollArea__vertical-bar" aria-hidden="true">
<div class="CharcellScrollArea__step">▴</div>
<div class="CharcellScrollArea__vertical-track">
<div class="CharcellScrollArea__vertical-thumb"></div>
</div>
<div class="CharcellScrollArea__step">▾</div>
</div>
<div
class="CharcellScrollArea__horizontal-bar CharcellScrollArea__horizontal-bar--fitting"
aria-hidden="true"
>
<div class="CharcellScrollArea__step"></div>
<div class="CharcellScrollArea__horizontal-track">
<div class="CharcellScrollArea__horizontal-thumb"></div>
</div>
<div class="CharcellScrollArea__step"></div>
</div>
</div>
<!-- /component -->▴
▾
import { Table } from 'charcell/react';
export function TableExample() {
return (
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
hideHeader
/>
);
}▴
▾
<script setup lang="ts">
import { Table } from 'charcell/vue';
</script>
<template>
<Table
:columns="[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]"
:rows="[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]"
hideHeader
/>
</template>▴
▾
<script lang="ts">
import { Table } from 'charcell/svelte';
</script>
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
hideHeader
/>▴
▾
<!-- component: ScrollAreaDriver (behavior not included) -->
<div
class="CharcellScrollArea CharcellScrollArea--stepped CharcellScrollArea--horizontal CharcellScrollArea--overscroll-none"
>
<div class="CharcellScrollArea__viewport" tabindex="0">
<div class="CharcellScrollArea__clip">
<div class="CharcellScrollArea__rows">
<div class="CharcellScrollArea__columns">
<div
class="CharcellTable CharcellTable--headless CharcellTable--row-lines CharcellTable--column-lines"
>
<table class="CharcellTable__table">
<thead class="CharcellTable__head">
<tr class="CharcellTable__row">
<th class="CharcellTable__heading" scope="col">rider</th>
<th class="CharcellTable__heading" scope="col">weapon</th>
<th
class="CharcellTable__heading CharcellTable__heading--end"
scope="col"
>
hits
</th>
</tr>
</thead>
<tbody class="CharcellTable__body">
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chain</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chainsaw</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
1
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a rottwheeler</td>
<td class="CharcellTable__cell">mace</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="CharcellScrollArea__vertical-bar" aria-hidden="true">
<div class="CharcellScrollArea__step">▴</div>
<div class="CharcellScrollArea__vertical-track">
<div class="CharcellScrollArea__vertical-thumb"></div>
</div>
<div class="CharcellScrollArea__step">▾</div>
</div>
<div
class="CharcellScrollArea__horizontal-bar CharcellScrollArea__horizontal-bar--fitting"
aria-hidden="true"
>
<div class="CharcellScrollArea__step"></div>
<div class="CharcellScrollArea__horizontal-track">
<div class="CharcellScrollArea__horizontal-thumb"></div>
</div>
<div class="CharcellScrollArea__step"></div>
</div>
</div>
<!-- /component -->▴
▾
import { Table } from 'charcell/react';
export function TableExample() {
return (
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
variant="dense"
/>
);
}▴
▾
<script setup lang="ts">
import { Table } from 'charcell/vue';
</script>
<template>
<Table
:columns="[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]"
:rows="[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]"
variant="dense"
/>
</template>▴
▾
<script lang="ts">
import { Table } from 'charcell/svelte';
</script>
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
variant="dense"
/>▴
▾
<!-- component: ScrollAreaDriver (behavior not included) -->
<div
class="CharcellScrollArea CharcellScrollArea--stepped CharcellScrollArea--horizontal CharcellScrollArea--overscroll-none"
>
<div class="CharcellScrollArea__viewport" tabindex="0">
<div class="CharcellScrollArea__clip">
<div class="CharcellScrollArea__rows">
<div class="CharcellScrollArea__columns">
<div class="CharcellTable CharcellTable--dense">
<table class="CharcellTable__table">
<thead class="CharcellTable__head">
<tr class="CharcellTable__row">
<th class="CharcellTable__heading" scope="col">rider</th>
<th class="CharcellTable__heading" scope="col">weapon</th>
<th
class="CharcellTable__heading CharcellTable__heading--end"
scope="col"
>
hits
</th>
</tr>
</thead>
<tbody class="CharcellTable__body">
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chain</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chainsaw</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
1
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a rottwheeler</td>
<td class="CharcellTable__cell">mace</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="CharcellScrollArea__vertical-bar" aria-hidden="true">
<div class="CharcellScrollArea__step">▴</div>
<div class="CharcellScrollArea__vertical-track">
<div class="CharcellScrollArea__vertical-thumb"></div>
</div>
<div class="CharcellScrollArea__step">▾</div>
</div>
<div
class="CharcellScrollArea__horizontal-bar CharcellScrollArea__horizontal-bar--fitting"
aria-hidden="true"
>
<div class="CharcellScrollArea__step"></div>
<div class="CharcellScrollArea__horizontal-track">
<div class="CharcellScrollArea__horizontal-thumb"></div>
</div>
<div class="CharcellScrollArea__step"></div>
</div>
</div>
<!-- /component -->▴
▾
import { Table } from 'charcell/react';
export function TableExample() {
return (
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
separators="rows"
/>
);
}▴
▾
<script setup lang="ts">
import { Table } from 'charcell/vue';
</script>
<template>
<Table
:columns="[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]"
:rows="[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]"
separators="rows"
/>
</template>▴
▾
<script lang="ts">
import { Table } from 'charcell/svelte';
</script>
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
separators="rows"
/>▴
▾
<!-- component: ScrollAreaDriver (behavior not included) -->
<div
class="CharcellScrollArea CharcellScrollArea--stepped CharcellScrollArea--horizontal CharcellScrollArea--overscroll-none"
>
<div class="CharcellScrollArea__viewport" tabindex="0">
<div class="CharcellScrollArea__clip">
<div class="CharcellScrollArea__rows">
<div class="CharcellScrollArea__columns">
<div class="CharcellTable CharcellTable--row-lines">
<table class="CharcellTable__table">
<thead class="CharcellTable__head">
<tr class="CharcellTable__row">
<th class="CharcellTable__heading" scope="col">rider</th>
<th class="CharcellTable__heading" scope="col">weapon</th>
<th
class="CharcellTable__heading CharcellTable__heading--end"
scope="col"
>
hits
</th>
</tr>
</thead>
<tbody class="CharcellTable__body">
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chain</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chainsaw</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
1
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a rottwheeler</td>
<td class="CharcellTable__cell">mace</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="CharcellScrollArea__vertical-bar" aria-hidden="true">
<div class="CharcellScrollArea__step">▴</div>
<div class="CharcellScrollArea__vertical-track">
<div class="CharcellScrollArea__vertical-thumb"></div>
</div>
<div class="CharcellScrollArea__step">▾</div>
</div>
<div
class="CharcellScrollArea__horizontal-bar CharcellScrollArea__horizontal-bar--fitting"
aria-hidden="true"
>
<div class="CharcellScrollArea__step"></div>
<div class="CharcellScrollArea__horizontal-track">
<div class="CharcellScrollArea__horizontal-thumb"></div>
</div>
<div class="CharcellScrollArea__step"></div>
</div>
</div>
<!-- /component -->▴
▾
import { Table } from 'charcell/react';
export function TableExample() {
return (
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
separators="columns"
/>
);
}▴
▾
<script setup lang="ts">
import { Table } from 'charcell/vue';
</script>
<template>
<Table
:columns="[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]"
:rows="[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]"
separators="columns"
/>
</template>▴
▾
<script lang="ts">
import { Table } from 'charcell/svelte';
</script>
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
separators="columns"
/>▴
▾
<!-- component: ScrollAreaDriver (behavior not included) -->
<div
class="CharcellScrollArea CharcellScrollArea--stepped CharcellScrollArea--horizontal CharcellScrollArea--overscroll-none"
>
<div class="CharcellScrollArea__viewport" tabindex="0">
<div class="CharcellScrollArea__clip">
<div class="CharcellScrollArea__rows">
<div class="CharcellScrollArea__columns">
<div class="CharcellTable CharcellTable--column-lines">
<table class="CharcellTable__table">
<thead class="CharcellTable__head">
<tr class="CharcellTable__row">
<th class="CharcellTable__heading" scope="col">rider</th>
<th class="CharcellTable__heading" scope="col">weapon</th>
<th
class="CharcellTable__heading CharcellTable__heading--end"
scope="col"
>
hits
</th>
</tr>
</thead>
<tbody class="CharcellTable__body">
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chain</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chainsaw</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
1
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a rottwheeler</td>
<td class="CharcellTable__cell">mace</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="CharcellScrollArea__vertical-bar" aria-hidden="true">
<div class="CharcellScrollArea__step">▴</div>
<div class="CharcellScrollArea__vertical-track">
<div class="CharcellScrollArea__vertical-thumb"></div>
</div>
<div class="CharcellScrollArea__step">▾</div>
</div>
<div
class="CharcellScrollArea__horizontal-bar CharcellScrollArea__horizontal-bar--fitting"
aria-hidden="true"
>
<div class="CharcellScrollArea__step"></div>
<div class="CharcellScrollArea__horizontal-track">
<div class="CharcellScrollArea__horizontal-thumb"></div>
</div>
<div class="CharcellScrollArea__step"></div>
</div>
</div>
<!-- /component -->▴
▾
import { Table } from 'charcell/react';
export function TableExample() {
return (
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
separators="none"
/>
);
}▴
▾
<script setup lang="ts">
import { Table } from 'charcell/vue';
</script>
<template>
<Table
:columns="[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]"
:rows="[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]"
separators="none"
/>
</template>▴
▾
<script lang="ts">
import { Table } from 'charcell/svelte';
</script>
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
separators="none"
/>▴
▾
<!-- component: ScrollAreaDriver (behavior not included) -->
<div
class="CharcellScrollArea CharcellScrollArea--stepped CharcellScrollArea--horizontal CharcellScrollArea--overscroll-none"
>
<div class="CharcellScrollArea__viewport" tabindex="0">
<div class="CharcellScrollArea__clip">
<div class="CharcellScrollArea__rows">
<div class="CharcellScrollArea__columns">
<div class="CharcellTable">
<table class="CharcellTable__table">
<thead class="CharcellTable__head">
<tr class="CharcellTable__row">
<th class="CharcellTable__heading" scope="col">rider</th>
<th class="CharcellTable__heading" scope="col">weapon</th>
<th
class="CharcellTable__heading CharcellTable__heading--end"
scope="col"
>
hits
</th>
</tr>
</thead>
<tbody class="CharcellTable__body">
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chain</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chainsaw</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
1
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a rottwheeler</td>
<td class="CharcellTable__cell">mace</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="CharcellScrollArea__vertical-bar" aria-hidden="true">
<div class="CharcellScrollArea__step">▴</div>
<div class="CharcellScrollArea__vertical-track">
<div class="CharcellScrollArea__vertical-thumb"></div>
</div>
<div class="CharcellScrollArea__step">▾</div>
</div>
<div
class="CharcellScrollArea__horizontal-bar CharcellScrollArea__horizontal-bar--fitting"
aria-hidden="true"
>
<div class="CharcellScrollArea__step"></div>
<div class="CharcellScrollArea__horizontal-track">
<div class="CharcellScrollArea__horizontal-thumb"></div>
</div>
<div class="CharcellScrollArea__step"></div>
</div>
</div>
<!-- /component -->▴
▾
import { Table } from 'charcell/react';
export function TableExample() {
return (
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
border="none"
/>
);
}▴
▾
<script setup lang="ts">
import { Table } from 'charcell/vue';
</script>
<template>
<Table
:columns="[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]"
:rows="[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]"
border="none"
/>
</template>▴
▾
<script lang="ts">
import { Table } from 'charcell/svelte';
</script>
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
border="none"
/>▴
▾
<!-- component: ScrollAreaDriver (behavior not included) -->
<div
class="CharcellScrollArea CharcellScrollArea--stepped CharcellScrollArea--horizontal CharcellScrollArea--overscroll-none"
>
<div class="CharcellScrollArea__viewport" tabindex="0">
<div class="CharcellScrollArea__clip">
<div class="CharcellScrollArea__rows">
<div class="CharcellScrollArea__columns">
<div
class="CharcellTable CharcellTable--border-top-none CharcellTable--border-end-none CharcellTable--border-bottom-none CharcellTable--border-start-none CharcellTable--row-lines CharcellTable--column-lines"
>
<table class="CharcellTable__table">
<thead class="CharcellTable__head">
<tr class="CharcellTable__row">
<th class="CharcellTable__heading" scope="col">rider</th>
<th class="CharcellTable__heading" scope="col">weapon</th>
<th
class="CharcellTable__heading CharcellTable__heading--end"
scope="col"
>
hits
</th>
</tr>
</thead>
<tbody class="CharcellTable__body">
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chain</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chainsaw</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
1
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a rottwheeler</td>
<td class="CharcellTable__cell">mace</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="CharcellScrollArea__vertical-bar" aria-hidden="true">
<div class="CharcellScrollArea__step">▴</div>
<div class="CharcellScrollArea__vertical-track">
<div class="CharcellScrollArea__vertical-thumb"></div>
</div>
<div class="CharcellScrollArea__step">▾</div>
</div>
<div
class="CharcellScrollArea__horizontal-bar CharcellScrollArea__horizontal-bar--fitting"
aria-hidden="true"
>
<div class="CharcellScrollArea__step"></div>
<div class="CharcellScrollArea__horizontal-track">
<div class="CharcellScrollArea__horizontal-thumb"></div>
</div>
<div class="CharcellScrollArea__step"></div>
</div>
</div>
<!-- /component -->▴
▾
import { Table } from 'charcell/react';
export function TableExample() {
return (
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
border="rounded"
/>
);
}▴
▾
<script setup lang="ts">
import { Table } from 'charcell/vue';
</script>
<template>
<Table
:columns="[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]"
:rows="[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]"
border="rounded"
/>
</template>▴
▾
<script lang="ts">
import { Table } from 'charcell/svelte';
</script>
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
border="rounded"
/>▴
▾
<!-- component: ScrollAreaDriver (behavior not included) -->
<div
class="CharcellScrollArea CharcellScrollArea--stepped CharcellScrollArea--horizontal CharcellScrollArea--overscroll-none"
>
<div class="CharcellScrollArea__viewport" tabindex="0">
<div class="CharcellScrollArea__clip">
<div class="CharcellScrollArea__rows">
<div class="CharcellScrollArea__columns">
<div
class="CharcellTable CharcellTable--border-top-rounded CharcellTable--border-end-rounded CharcellTable--border-bottom-rounded CharcellTable--border-start-rounded CharcellTable--row-lines CharcellTable--column-lines"
>
<table class="CharcellTable__table">
<thead class="CharcellTable__head">
<tr class="CharcellTable__row">
<th class="CharcellTable__heading" scope="col">rider</th>
<th class="CharcellTable__heading" scope="col">weapon</th>
<th
class="CharcellTable__heading CharcellTable__heading--end"
scope="col"
>
hits
</th>
</tr>
</thead>
<tbody class="CharcellTable__body">
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chain</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chainsaw</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
1
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a rottwheeler</td>
<td class="CharcellTable__cell">mace</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="CharcellScrollArea__vertical-bar" aria-hidden="true">
<div class="CharcellScrollArea__step">▴</div>
<div class="CharcellScrollArea__vertical-track">
<div class="CharcellScrollArea__vertical-thumb"></div>
</div>
<div class="CharcellScrollArea__step">▾</div>
</div>
<div
class="CharcellScrollArea__horizontal-bar CharcellScrollArea__horizontal-bar--fitting"
aria-hidden="true"
>
<div class="CharcellScrollArea__step"></div>
<div class="CharcellScrollArea__horizontal-track">
<div class="CharcellScrollArea__horizontal-thumb"></div>
</div>
<div class="CharcellScrollArea__step"></div>
</div>
</div>
<!-- /component -->▴
▾
import { Table } from 'charcell/react';
export function TableExample() {
return (
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
border="heavy"
/>
);
}▴
▾
<script setup lang="ts">
import { Table } from 'charcell/vue';
</script>
<template>
<Table
:columns="[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]"
:rows="[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]"
border="heavy"
/>
</template>▴
▾
<script lang="ts">
import { Table } from 'charcell/svelte';
</script>
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
border="heavy"
/>▴
▾
<!-- component: ScrollAreaDriver (behavior not included) -->
<div
class="CharcellScrollArea CharcellScrollArea--stepped CharcellScrollArea--horizontal CharcellScrollArea--overscroll-none"
>
<div class="CharcellScrollArea__viewport" tabindex="0">
<div class="CharcellScrollArea__clip">
<div class="CharcellScrollArea__rows">
<div class="CharcellScrollArea__columns">
<div
class="CharcellTable CharcellTable--border-top-heavy CharcellTable--border-end-heavy CharcellTable--border-bottom-heavy CharcellTable--border-start-heavy CharcellTable--row-lines CharcellTable--column-lines"
>
<table class="CharcellTable__table">
<thead class="CharcellTable__head">
<tr class="CharcellTable__row">
<th class="CharcellTable__heading" scope="col">rider</th>
<th class="CharcellTable__heading" scope="col">weapon</th>
<th
class="CharcellTable__heading CharcellTable__heading--end"
scope="col"
>
hits
</th>
</tr>
</thead>
<tbody class="CharcellTable__body">
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chain</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chainsaw</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
1
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a rottwheeler</td>
<td class="CharcellTable__cell">mace</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="CharcellScrollArea__vertical-bar" aria-hidden="true">
<div class="CharcellScrollArea__step">▴</div>
<div class="CharcellScrollArea__vertical-track">
<div class="CharcellScrollArea__vertical-thumb"></div>
</div>
<div class="CharcellScrollArea__step">▾</div>
</div>
<div
class="CharcellScrollArea__horizontal-bar CharcellScrollArea__horizontal-bar--fitting"
aria-hidden="true"
>
<div class="CharcellScrollArea__step"></div>
<div class="CharcellScrollArea__horizontal-track">
<div class="CharcellScrollArea__horizontal-thumb"></div>
</div>
<div class="CharcellScrollArea__step"></div>
</div>
</div>
<!-- /component -->▴
▾
import { Table } from 'charcell/react';
export function TableExample() {
return (
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
border="double"
/>
);
}▴
▾
<script setup lang="ts">
import { Table } from 'charcell/vue';
</script>
<template>
<Table
:columns="[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]"
:rows="[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]"
border="double"
/>
</template>▴
▾
<script lang="ts">
import { Table } from 'charcell/svelte';
</script>
<Table
columns={[
{ key: 'rider', label: 'rider' },
{ key: 'weapon', label: 'weapon' },
{ key: 'hits', label: 'hits', align: 'end' },
]}
rows={[
{ rider: 'a vulture', weapon: 'chain', hits: '4' },
{ rider: 'a vulture', weapon: 'chainsaw', hits: '1' },
{ rider: 'a rottwheeler', weapon: 'mace', hits: '4' },
]}
border="double"
/>▴
▾
<!-- component: ScrollAreaDriver (behavior not included) -->
<div
class="CharcellScrollArea CharcellScrollArea--stepped CharcellScrollArea--horizontal CharcellScrollArea--overscroll-none"
>
<div class="CharcellScrollArea__viewport" tabindex="0">
<div class="CharcellScrollArea__clip">
<div class="CharcellScrollArea__rows">
<div class="CharcellScrollArea__columns">
<div
class="CharcellTable CharcellTable--border-top-double CharcellTable--border-end-double CharcellTable--border-bottom-double CharcellTable--border-start-double CharcellTable--row-lines CharcellTable--column-lines"
>
<table class="CharcellTable__table">
<thead class="CharcellTable__head">
<tr class="CharcellTable__row">
<th class="CharcellTable__heading" scope="col">rider</th>
<th class="CharcellTable__heading" scope="col">weapon</th>
<th
class="CharcellTable__heading CharcellTable__heading--end"
scope="col"
>
hits
</th>
</tr>
</thead>
<tbody class="CharcellTable__body">
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chain</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a vulture</td>
<td class="CharcellTable__cell">chainsaw</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
1
</td>
</tr>
<tr class="CharcellTable__row">
<td class="CharcellTable__cell">a rottwheeler</td>
<td class="CharcellTable__cell">mace</td>
<td class="CharcellTable__cell CharcellTable__cell--end">
4
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="CharcellScrollArea__vertical-bar" aria-hidden="true">
<div class="CharcellScrollArea__step">▴</div>
<div class="CharcellScrollArea__vertical-track">
<div class="CharcellScrollArea__vertical-thumb"></div>
</div>
<div class="CharcellScrollArea__step">▾</div>
</div>
<div
class="CharcellScrollArea__horizontal-bar CharcellScrollArea__horizontal-bar--fitting"
aria-hidden="true"
>
<div class="CharcellScrollArea__step"></div>
<div class="CharcellScrollArea__horizontal-track">
<div class="CharcellScrollArea__horizontal-thumb"></div>
</div>
<div class="CharcellScrollArea__step"></div>
</div>
</div>
<!-- /component -->▴
▾
as text
┌───────────────┬──────────┬──────┐ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼──────┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼──────┤ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴──────┘
┌───────────────┬──────────┬──────┐ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼──────┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼──────┤ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴──────┘
┌───────────────┬──────────┬──────┐ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼──────┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼──────┤ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴──────┘
┌───────────────┬──────────┬──────┐ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼──────┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼──────┤ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴──────┘
┌───────────────┬──────────┬──────┐ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼──────┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼──────┤ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴──────┘
┌───────────────┬──────────┬──────┐ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼──────┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼──────┤ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴──────┘
┌───────────────┬──────────┬──────┐ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼──────┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼──────┤ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴──────┘
┌───────────────┬──────────┬──────┐ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼──────┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼──────┤ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴──────┘
┌───────────────┬──────────┬──────┐ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼──────┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼──────┤ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴──────┘
┌───────────────┬──────────┬──────┐ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼──────┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼──────┤ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴──────┘
┌───────────────┬──────────┬───┐ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼───┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼───┤ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴───┘
┌───────────────┬──────────┬───┐ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼───┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼───┤ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴───┘
┌───────────────┬──────────┬───┐ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼───┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼───┤ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴───┘
┌───────────────┬──────────┬───┐ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼───┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼───┤ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴───┘
┌───────────────┬──────────┬───┐ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼───┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼───┤ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴───┘
rider weapon hits ─────────────────────────────── a vulture chain 4 a vulture chainsaw 1 a rottwheeler mace 4
rider weapon hits ─────────────────────────────── a vulture chain 4 a vulture chainsaw 1 a rottwheeler mace 4
rider weapon hits ─────────────────────────────── a vulture chain 4 a vulture chainsaw 1 a rottwheeler mace 4
rider weapon hits ─────────────────────────────── a vulture chain 4 a vulture chainsaw 1 a rottwheeler mace 4
rider weapon hits ─────────────────────────────── a vulture chain 4 a vulture chainsaw 1 a rottwheeler mace 4
┌───────────────────────────────┐ │ rider weapon hits │ ├───────────────────────────────┤ │ a vulture chain 4 │ ├───────────────────────────────┤ │ a vulture chainsaw 1 │ ├───────────────────────────────┤ │ a rottwheeler mace 4 │ └───────────────────────────────┘
┌───────────────────────────────┐ │ rider weapon hits │ ├───────────────────────────────┤ │ a vulture chain 4 │ ├───────────────────────────────┤ │ a vulture chainsaw 1 │ ├───────────────────────────────┤ │ a rottwheeler mace 4 │ └───────────────────────────────┘
┌───────────────────────────────┐ │ rider weapon hits │ ├───────────────────────────────┤ │ a vulture chain 4 │ ├───────────────────────────────┤ │ a vulture chainsaw 1 │ ├───────────────────────────────┤ │ a rottwheeler mace 4 │ └───────────────────────────────┘
┌───────────────────────────────┐ │ rider weapon hits │ ├───────────────────────────────┤ │ a vulture chain 4 │ ├───────────────────────────────┤ │ a vulture chainsaw 1 │ ├───────────────────────────────┤ │ a rottwheeler mace 4 │ └───────────────────────────────┘
┌───────────────────────────────┐ │ rider weapon hits │ ├───────────────────────────────┤ │ a vulture chain 4 │ ├───────────────────────────────┤ │ a vulture chainsaw 1 │ ├───────────────────────────────┤ │ a rottwheeler mace 4 │ └───────────────────────────────┘
┌───────────────┬──────────┬──────┐ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ │ a vulture │ chainsaw │ 1 │ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴──────┘
┌───────────────┬──────────┬──────┐ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ │ a vulture │ chainsaw │ 1 │ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴──────┘
┌───────────────┬──────────┬──────┐ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ │ a vulture │ chainsaw │ 1 │ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴──────┘
┌───────────────┬──────────┬──────┐ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ │ a vulture │ chainsaw │ 1 │ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴──────┘
┌───────────────┬──────────┬──────┐ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ │ a vulture │ chainsaw │ 1 │ │ a rottwheeler │ mace │ 4 │ └───────────────┴──────────┴──────┘
┌───────────────────────────────┐ │ rider weapon hits │ ├───────────────────────────────┤ │ a vulture chain 4 │ │ a vulture chainsaw 1 │ │ a rottwheeler mace 4 │ └───────────────────────────────┘
┌───────────────────────────────┐ │ rider weapon hits │ ├───────────────────────────────┤ │ a vulture chain 4 │ │ a vulture chainsaw 1 │ │ a rottwheeler mace 4 │ └───────────────────────────────┘
┌───────────────────────────────┐ │ rider weapon hits │ ├───────────────────────────────┤ │ a vulture chain 4 │ │ a vulture chainsaw 1 │ │ a rottwheeler mace 4 │ └───────────────────────────────┘
┌───────────────────────────────┐ │ rider weapon hits │ ├───────────────────────────────┤ │ a vulture chain 4 │ │ a vulture chainsaw 1 │ │ a rottwheeler mace 4 │ └───────────────────────────────┘
┌───────────────────────────────┐ │ rider weapon hits │ ├───────────────────────────────┤ │ a vulture chain 4 │ │ a vulture chainsaw 1 │ │ a rottwheeler mace 4 │ └───────────────────────────────┘
╷ ╷ rider │ weapon │ hits ╶───────────────┼──────────┼──────╴ a vulture │ chain │ 4 ╶───────────────┼──────────┼──────╴ a vulture │ chainsaw │ 1 ╶───────────────┼──────────┼──────╴ a rottwheeler │ mace │ 4 ╵ ╵
╷ ╷ rider │ weapon │ hits ╶───────────────┼──────────┼──────╴ a vulture │ chain │ 4 ╶───────────────┼──────────┼──────╴ a vulture │ chainsaw │ 1 ╶───────────────┼──────────┼──────╴ a rottwheeler │ mace │ 4 ╵ ╵
╷ ╷ rider │ weapon │ hits ╶───────────────┼──────────┼──────╴ a vulture │ chain │ 4 ╶───────────────┼──────────┼──────╴ a vulture │ chainsaw │ 1 ╶───────────────┼──────────┼──────╴ a rottwheeler │ mace │ 4 ╵ ╵
╷ ╷ rider │ weapon │ hits ╶───────────────┼──────────┼──────╴ a vulture │ chain │ 4 ╶───────────────┼──────────┼──────╴ a vulture │ chainsaw │ 1 ╶───────────────┼──────────┼──────╴ a rottwheeler │ mace │ 4 ╵ ╵
╷ ╷ rider │ weapon │ hits ╶───────────────┼──────────┼──────╴ a vulture │ chain │ 4 ╶───────────────┼──────────┼──────╴ a vulture │ chainsaw │ 1 ╶───────────────┼──────────┼──────╴ a rottwheeler │ mace │ 4 ╵ ╵
╭───────────────┬──────────┬──────╮ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼──────┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼──────┤ │ a rottwheeler │ mace │ 4 │ ╰───────────────┴──────────┴──────╯
╭───────────────┬──────────┬──────╮ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼──────┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼──────┤ │ a rottwheeler │ mace │ 4 │ ╰───────────────┴──────────┴──────╯
╭───────────────┬──────────┬──────╮ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼──────┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼──────┤ │ a rottwheeler │ mace │ 4 │ ╰───────────────┴──────────┴──────╯
╭───────────────┬──────────┬──────╮ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼──────┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼──────┤ │ a rottwheeler │ mace │ 4 │ ╰───────────────┴──────────┴──────╯
╭───────────────┬──────────┬──────╮ │ rider │ weapon │ hits │ ├───────────────┼──────────┼──────┤ │ a vulture │ chain │ 4 │ ├───────────────┼──────────┼──────┤ │ a vulture │ chainsaw │ 1 │ ├───────────────┼──────────┼──────┤ │ a rottwheeler │ mace │ 4 │ ╰───────────────┴──────────┴──────╯
┏━━━━━━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━┓ ┃ rider │ weapon │ hits ┃ ┠───────────────┼──────────┼──────┨ ┃ a vulture │ chain │ 4 ┃ ┠───────────────┼──────────┼──────┨ ┃ a vulture │ chainsaw │ 1 ┃ ┠───────────────┼──────────┼──────┨ ┃ a rottwheeler │ mace │ 4 ┃ ┗━━━━━━━━━━━━━━━┷━━━━━━━━━━┷━━━━━━┛
┏━━━━━━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━┓ ┃ rider │ weapon │ hits ┃ ┠───────────────┼──────────┼──────┨ ┃ a vulture │ chain │ 4 ┃ ┠───────────────┼──────────┼──────┨ ┃ a vulture │ chainsaw │ 1 ┃ ┠───────────────┼──────────┼──────┨ ┃ a rottwheeler │ mace │ 4 ┃ ┗━━━━━━━━━━━━━━━┷━━━━━━━━━━┷━━━━━━┛
┏━━━━━━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━┓ ┃ rider │ weapon │ hits ┃ ┠───────────────┼──────────┼──────┨ ┃ a vulture │ chain │ 4 ┃ ┠───────────────┼──────────┼──────┨ ┃ a vulture │ chainsaw │ 1 ┃ ┠───────────────┼──────────┼──────┨ ┃ a rottwheeler │ mace │ 4 ┃ ┗━━━━━━━━━━━━━━━┷━━━━━━━━━━┷━━━━━━┛
┏━━━━━━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━┓ ┃ rider │ weapon │ hits ┃ ┠───────────────┼──────────┼──────┨ ┃ a vulture │ chain │ 4 ┃ ┠───────────────┼──────────┼──────┨ ┃ a vulture │ chainsaw │ 1 ┃ ┠───────────────┼──────────┼──────┨ ┃ a rottwheeler │ mace │ 4 ┃ ┗━━━━━━━━━━━━━━━┷━━━━━━━━━━┷━━━━━━┛
┏━━━━━━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━┓ ┃ rider │ weapon │ hits ┃ ┠───────────────┼──────────┼──────┨ ┃ a vulture │ chain │ 4 ┃ ┠───────────────┼──────────┼──────┨ ┃ a vulture │ chainsaw │ 1 ┃ ┠───────────────┼──────────┼──────┨ ┃ a rottwheeler │ mace │ 4 ┃ ┗━━━━━━━━━━━━━━━┷━━━━━━━━━━┷━━━━━━┛
╔═══════════════╤══════════╤══════╗ ║ rider │ weapon │ hits ║ ╟───────────────┼──────────┼──────╢ ║ a vulture │ chain │ 4 ║ ╟───────────────┼──────────┼──────╢ ║ a vulture │ chainsaw │ 1 ║ ╟───────────────┼──────────┼──────╢ ║ a rottwheeler │ mace │ 4 ║ ╚═══════════════╧══════════╧══════╝
╔═══════════════╤══════════╤══════╗ ║ rider │ weapon │ hits ║ ╟───────────────┼──────────┼──────╢ ║ a vulture │ chain │ 4 ║ ╟───────────────┼──────────┼──────╢ ║ a vulture │ chainsaw │ 1 ║ ╟───────────────┼──────────┼──────╢ ║ a rottwheeler │ mace │ 4 ║ ╚═══════════════╧══════════╧══════╝
╔═══════════════╤══════════╤══════╗ ║ rider │ weapon │ hits ║ ╟───────────────┼──────────┼──────╢ ║ a vulture │ chain │ 4 ║ ╟───────────────┼──────────┼──────╢ ║ a vulture │ chainsaw │ 1 ║ ╟───────────────┼──────────┼──────╢ ║ a rottwheeler │ mace │ 4 ║ ╚═══════════════╧══════════╧══════╝
╔═══════════════╤══════════╤══════╗ ║ rider │ weapon │ hits ║ ╟───────────────┼──────────┼──────╢ ║ a vulture │ chain │ 4 ║ ╟───────────────┼──────────┼──────╢ ║ a vulture │ chainsaw │ 1 ║ ╟───────────────┼──────────┼──────╢ ║ a rottwheeler │ mace │ 4 ║ ╚═══════════════╧══════════╧══════╝
╔═══════════════╤══════════╤══════╗ ║ rider │ weapon │ hits ║ ╟───────────────┼──────────┼──────╢ ║ a vulture │ chain │ 4 ║ ╟───────────────┼──────────┼──────╢ ║ a vulture │ chainsaw │ 1 ║ ╟───────────────┼──────────┼──────╢ ║ a rottwheeler │ mace │ 4 ║ ╚═══════════════╧══════════╧══════╝
props
- columnsTableColumn[]
- The columns, in order:
{ key, label, align };align: 'end'suits numbers. - rowsTableRow[]
- The records, each cell the value under its column's
key, printed as text (an empty cell fornullorundefined). - captionstring
- Names the table for assistive technology, as its
<caption>, and its scroll area, a region; the page shows it no more than the header it keeps withhideHeader. - hideHeaderboolean
- Keeps the header for assistive technology only.
- variant'boxed' | 'dense'= 'boxed'
boxeddraws the ring and the inner strokes;denseis the bare listing, columns 2ch apart.- separators'both' | 'rows' | 'columns' | 'none'= 'both'
- Which inner strokes a boxed table draws.
- border'none' | 'single' | 'rounded' | 'heavy' | 'double'
- The style of every side of a boxed table's ring:
single,rounded,heavy,doubleornone. - borderX'none' | 'single' | 'rounded' | 'heavy' | 'double'
- The style of a boxed table's ring's start and end sides, over
border. - borderY'none' | 'single' | 'rounded' | 'heavy' | 'double'
- The style of a boxed table's ring's top and bottom sides, over
border. - borderTop'none' | 'single' | 'rounded' | 'heavy' | 'double'
- The style of a boxed table's ring's top side, over
borderYandborder. - borderEnd'none' | 'single' | 'rounded' | 'heavy' | 'double'
- The style of a boxed table's ring's end side, over
borderXandborder. - borderBottom'none' | 'single' | 'rounded' | 'heavy' | 'double'
- The style of a boxed table's ring's bottom side, over
borderYandborder. - borderStart'none' | 'single' | 'rounded' | 'heavy' | 'double'
- The style of a boxed table's ring's start side, over
borderXandborder.
▴
▾