PaceUI

  • Components
  • Blocks
  • Templates
  • Studio
  • Resources
Native AI
  • Introduction
Components
  • Browser Support
  • Response Renderer
  • Chat Header
  • Chat Messages
  • Chat Suggestions
  • Chat Input
Use Cases
  • Quick Chat
  • Follow Ups
Hooks
  • useBrowserSupport
  • useNativeAI
  1. Components
  2. Native AI
PreviousNext

Chat Header

Native AI chat header with status and token usage in React.

Overview

The ChatHeader component provides a consistent header interface for local AI chat applications. It shows status indicators (e.g. "Ready" if browser AI is available) and current token context details.

default.tsx

API Reference

Props

PropTypeDescriptionDefault
titlestringThe title text displayed in the header."Local AI Assistant"
logoReactNodeCustom icon or logo element rendered on the left.<Sparkles />
iconReactNodeAlias for logo.undefined
isSupportedbooleanWhether Chrome's built-in AI is supported on the client.false
status"loading" | "ready" | "lazy"Status of the AI model adapter displayed as a header badge."ready"
contextInfo{ used: number, window: number } | nullOptional token utilization information to display adjacent to the title.null
Response RendererChat Messages

PaceUI

Animated blocks, components, and templates for Next.js and TanStack Start. Built with Motion and shadcn - clean code you own.

GitHubTwitterDiscord

Products

BlocksComponentsTemplatesCraftsTanStack ChartsMCP ServerStarter KitsStyleX Components

Resources

DocumentationMotion ComponentsGSAP AnimationsNative AIBlogChangelog

Pricing & Account

PricingManage AccountLicensesAPI KeysAffiliate Program

Company

Contact UsDiscord CommunityPrivacy PolicyTerms of Service

© 2026 PaceUI. All rights reserved. Built by indie developer, Denish

PACEUI

Native AI

Ready
(Hover on circle to see context info)