v0.5.0
GitHub

Installation

This guide covers how to install and set up Svelte Reactive Table in your project.

Prerequisites

Before installing, ensure you have:

  • Node.js installed on your system
  • A Svelte 5.0.0+ project (the library uses Svelte 5’s runes system)
  • A package manager (npm, pnpm, yarn, or bun)

Installing the Package

Install the library using your preferred package manager:

			npm install svelte-reactive-table
		

Import and Use

Once installed, importing the library is straightforward:

			<script lang="ts">
	import { reactiveTable } from 'svelte-reactive-table';

	// Optional: Import plugins as needed
	import {
		reactivePagination,
		reactiveColumnVisibility,
		reactiveSorting
	} from 'svelte-reactive-table';
</script>
		

TypeScript users: The library is built with TypeScript and includes full type definitions out of the box!

All Set!

That’s it - you’re ready to build reactive tables! The installation gives you access to:

  • Core table functionality
  • All available plugins (pagination, sorting, column visibility)
  • Full TypeScript support
  • Comprehensive API for customization