Skip to content

TanStack AI Preact

npm@tanstack/ai-preact

Official Preact hooks and headless UI bindings for typed streaming chat, tool calls, approvals and AI message parts.

Native PreactActive
Verdict

Native Preact

Built for Preact and does not require a React compatibility layer.

When to use it

Evidence level: documented. Latest npm version checked: 1.0.1. Official docs provide a Preact-specific createChatHook workflow and typed component slots.

Overview

`@tanstack/ai-preact` provides official Preact hooks and headless UI bindings for TanStack AI. It supports typed streaming messages, tool calls, approval interrupts and custom Preact renderers for each message part.