Skip to content
PluginStats

@tanstack/ai-solid weekly downloads statistics

By tanstack (52 listings) · npm · AI SDKs

Solid hooks for TanStack AI streaming chat, structured outputs, and media generation.

View on npm Fresh · Oct 17, 2026

@tanstack/ai-solid has 8,324 recorded weekly downloads on npm, a decrease of 4.1% over the past 30 days.

It ranks #964 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by +171%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
8,324
Official API · Oct 17, 2026
7-day growth
-31.5%
-3.8K weekly downloads
30-day growth
-4.1%
-357 weekly downloads
90-day growth
+171%
+5.3K weekly downloads
Rank
#964
Among tracked npm listings

About @tanstack/ai-solid

@tanstack/ai-react

React hooks for building AI chat interfaces with TanStack AI.

Installation

useChat Hook

The useChat hook manages chat state, handles streaming responses, and provides a complete chat interface in a single hook.

Design Philosophy (v5 API):

• You control input state • Just call sendMessage() when ready • No form-centric API - use buttons, keyboard events, or any trigger • More flexible and less opinionated

Basic Usage

API

Options

Return Value

Connection Adapters

Connection adapters provide flexible streaming for different scenarios. See the complete guides:

• 📖 Connection Adapters Guide - Complete guide with examples • 📖 Connection Adapters API - API reference

Quick Examples

SSE (Most Common):

Server Functions:

Custom (e.g., WebSockets):

Backend Endpoint

Your backend should use the chat() method which automatically handles tool execution in a loop:

1. Receive POST requests with this body:

2. Use chat() to stream responses (with automatic tool execution):

The response streams StreamChunk objects as Server-Sent Events:

Note: The chat() method automatically executes tools and emits tool_result chunks - you don't need to handle tool execution manually!

Advanced Usage

With Callbacks

Flexible Triggering

With Custom Headers

Programmatic Control

Multiple Chats

Example Backend (Node.js/Express)

Example Backend (Next.js App Router)

Example Backend (TanStack Start)

TypeScript Types

All types are fully exported:

Features

• ✅ Automatic message state management • ✅ Streaming response handling • ✅ Loading and error states • ✅ Simple sendMessage() API (v5 style) • ✅ You control input state (flexible) • ✅ Abort/stop generation • ✅ Reload last response • ✅ Clear conversation • ✅ Custom headers and body data (via connection adapter options) • ✅ Callback hooks for lifecycle events • ✅ Multiple concurrent chats • ✅ Full TypeScript support

License

MIT

Description from the npm listing.

  • ai
  • ai-sdk
  • typescript
  • tanstack
  • solid
  • solidjs
  • hooks
  • chat
  • streaming
  • tool-calling
  • structured-outputs
  • media-generation

Where @tanstack/ai-solid sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,248 listings · 113 pages · page 49, #4 (overall #964)
All npm: every listing in weekly downloads order
PNG SVG
AI SDKs249 listings · 13 pages · page 3, #20 (overall #60)
AI SDKs: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@tanstack/ai-solid weekly downloads on npm, last 90 days: 8,324 weekly downloads as of Oct 17, 2026, +171% over 90 days.@tanstack/ai-solidWeekly downloads on npm · Last 90 days8,324downloads / week+171% over 90 days05K10K15K20K25KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
@tanstack/ai-solid weekly downloads on npm, last 90 days: 8,324 weekly downloads as of Oct 17, 2026, +171% over 90 days.
PNG SVG

7/30/90-day growth

@tanstack/ai-solid weekly downloads growth on npm: -31.5% over 7 days, -4.1% over 30 days, +171% over 90 days.@tanstack/ai-solidWeekly downloads growth on npm8,324downloads / week now7-day growth-3,827 weekly downloads-31.5%30-day growth-357 weekly downloads-4.1%90-day growth+5,255 weekly downloads+171%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@tanstack/ai-solid weekly downloads growth on npm: -31.5% over 7 days, -4.1% over 30 days, +171% over 90 days.
PNG SVG

Ranking history

@tanstack/ai-solid npm ranking history: currently #964 (by weekly downloads).@tanstack/ai-solidnpm ranking · by weekly downloads · Last 90 days#964current rank#962#963#964#965#966Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
@tanstack/ai-solid npm ranking history: currently #964 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (121)
Recent weekly downloads observations for @tanstack/ai-solid
Date (UTC)Weekly downloadsChange vs. previous
8,324-647
8,971+2.1K
6,877-4K
10,841-3.2K
14,0510
14,051+1.1K
12,930+779
12,151-47
12,198-2.6K
14,750+612
14,138+59
14,079-3.8K
17,903-1.7K
19,587—

Similar npm AI SDKs plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@tanstack/ai-solid. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.