lit/getting-started

Official

Build your first typed Lit table fast.

AuthorTanStack
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Confidently implementing a working TanStack Table in a Lit app can be confusing because v9 requires explicit feature registration, row-model factories, and the correct TableController lifecycle for rendering.

Core Features & Use Cases

  • End-to-end Lit setup: Install the adapter and required peer dependencies for @tanstack/lit-table.
  • Explicit v9 feature and row-model wiring: Declare _features with tableFeatures() and register matching _rowModels factories so the right behaviors are available.
  • Typed columns and controller-driven rendering: Create typed ColumnDef (or a column helper), then render headers/rows/footers using FlexRender from a per-host TableController.

Quick Start

Install @tanstack/lit-table with lit and @lit/context, declare your _features with tableFeatures(), register the needed _rowModels, and render a working table via a single TableController instance inside your LitElement’s render() method.

Dependency Matrix

Required Modules

None required

Components

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: lit/getting-started
Download link: https://github.com/TanStack/table/archive/main.zip#lit-getting-started

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.