svelte/getting-started
OfficialBuild your first Svelte 5 TanStack table
Software Engineering#getting started#runes#pagination#svelte 5#tanstack table#type-safe columns#FlexRender
AuthorTanStack
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It guides you through creating a working, typed TanStack table in Svelte 5 with the v9 adapter, avoiding common setup mistakes caused by the v9 shape and Svelte runes requirements.
Core Features & Use Cases
- Svelte 5 + v9 setup: Ensures you’re using the required Svelte version and the correct adapter APIs for v9.
- Explicit feature and row-model opt-in: Shows how to define
_featuresand register the corresponding_rowModelsfactories so the table instance exposes the right derived APIs. - Strong typing with generics: Demonstrates
createColumnHelper<typeof _features, TData>()andColumnDef<typeof _features, TData>for type-safe columns and cells. - Reactive data + render: Uses
$statewith aget data()reactive getter and renders cells/headers withFlexRender, including best practices like keyed{#each}blocks. - Add a feature like pagination: Illustrates how to enable pagination and react to table state from UI controls.
- Multi-table reuse: Introduces
createTableHook/createAppTablepatterns for sharing feature and row-model configuration across an app.
Quick Start
Ask the AI to produce a minimal Svelte 5 v9 @tanstack/svelte-table setup that defines _features, _rowModels, typed columns for a Person type, creates the table with createTable({ get data() }), and renders headers and rows using FlexRender.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: svelte/getting-started Download link: https://github.com/TanStack/table/archive/main.zip#svelte-getting-started Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.