Svelte Table

Documentation

Live Demo

Quick start

npm i @hurtigruten/[email protected] --save

Simple example

<SvelteTable {rows} {columns} />

Table with custom components

<SvelteTable {rows} {columns} let:cell let:column>
  <span class="text-white bg-gray-800" slot="head">{column.title}</span>
  <span class="flex items-center bg-blue-100" slot="cell">{cell}</span>
</SvelteTable>

Top categories

Loading Svelte Themes