animui
ComponentsBlocksDocsPackageTry the demo
Introduction
Installation
Theming
Motion
AI guide
Changelog
Metrics dashboard
KPI drilldown
Metric explorer
Revenue explorer
MRR waterfall
Cohort retention
Usage forecast
Journey flow
Choropleth explorer
Connected scatter
Market terminal
Budget variance
Small multiples
Line replay
AI chat
AI composer
Agent run
AI side panel
SidebarPro4
Page header
Command palette
Notification center
Empty states
Search resultsPro
Login and sign up5
OTP input
Multi-step formPro
Settings page
Settings command
Security settings
Billing overview
Usage billing
Cancel flow
Team members
Invite people
Team directory
Roles and permissions
API keys
Webhooks
Integrations
Environment variables
Plan comparison
Pricing calculatorPro
Usage pricingPro
Cart drawerPro
Checkout summaryPro
Invoice studio
Wallet card
Product listing
Product detail
Inbox triage
Support conversation
Support widget
Help centerNew
File upload
Media playerPro
Week calendar
Availability picker
Project board
Release readiness
Kanban boardNew
Hero section
Hero signupPro
Scroll storyPro
Spotlight gridPro
Feature bentoPro
Comparison table
Logo marquee
Studio perspectivesPro
Stats band
Changelog feed
FAQ section
Contact section
Team showcasePro
Blog grid
Site header
Site footer
CTA section
Newsletter signup
Activity terrain
Revenue globe
Customer galaxy
Semantic zoom
Layout morph
What’s new8 new
BlocksSupport widget

Support widgetPro

An in-app help launcher that grows into live article search, reading, and a chat with your team.

Live block · sample data
HarborDashboardsReportsExportsFieldstone Roasters

Scheduled exports

4 schedules · times in UTC

  • Weekly revenue summaryPDF · Mondays at 6:00Delivered Sep 21
  • Churned accountsCSV · Daily at 6:00Paused Sep 21
  • Wholesale ordersCSV · Fridays at 6:00Delivered Sep 18
  • Board metrics packPDF · 1st of the monthDelivered Sep 1

When to use

  • An in-app help launcher with article search, an article reader, and chat.
  • SaaS products that want one help entry point mounted near the app root.

When not to use

  • Use support-conversation for a full page support chat.
  • Use ai-composer for an AI prompt input without help articles.
  • Use popover for a small anchored tip.

Installation

Install animui once, then import any component or block from its typed package entry.

animui · 250 components and blocks

React 19 and React DOM 19 are required. The package includes Free and Pro entries, styles and TypeScript declarations.

npm install https://animui.stracture.net/__local/package.tgz

Load the stylesheet once at your app root, then use the typed component import:

import 'animui/styles.css';
import { SupportWidget } from 'animui/support-widget';

Read the Code tab for the implementation files and the API reference below for required props.

Download animui 0.3.0 · Agent guide

Usage

Use this as the help entry point inside a SaaS app. Load articles from your help center into support-widget-data.ts and connect onSend to your inbox or chat provider; replies in the preview are simulated.

example.tsx
1import { SupportWidget } from "animui/support-widget";2 3export function AppShell() {4  return (5    <SupportWidget6      onSend={message => sendToInbox(message)}7      onOpenChange={open => track(open ? "help_opened" : "help_closed")}8    />9  );10}
Built fromSearch fieldAvatarButtonText morphAnimated counter

API reference

SupportWidget

A help launcher that grows into article search, an article reader and a chat thread. Articles, team and suggested replies are sample data in support-widget-data.ts; agent replies are simulated.

PropTypeDefaultDescription
onSend(message: string) => void–Called with each message the person sends, so you can forward it to your inbox or chat provider.
onOpenChange(open: boolean) => void–Called when the launcher opens or closes the panel.

Keyboard interactions

Escape
Closes the panel and returns focus to the launcher.
Arrow down
From the search field, moves focus into the article list.
Arrow uporArrow down
Moves between articles; up from the first article returns to search.
Enter
In search, opens the top result.

Accessibility

  • The open panel is a role="dialog" whose label switches between Help and the conversation.
  • The chat thread is a role="log" with a screen reader only typing indicator, and a polite live region announces view changes.
  • The launcher uses aria-haspopup="dialog" and includes the unread reply count in its label.

Motion

  • The launcher springs open into the panel, and views slide in the direction of travel.
  • Unread badges and the launcher icon pop in on a snappy spring; changing text crossfades with a short rise.
  • Reduced motion replaces scale, slide and rotate with plain fades.

Responsive behavior

  • The dock is positioned absolute inside the block's 680px demo stage; move it to position fixed when you mount it in a real app.
  • Below a 519px container the stage is 640px tall, the dock sits closer to the corner, and the sample app nav hides.
  • On coarse pointers opening chat focuses the panel instead of the text field, so the keyboard does not pop up on its own.

Performance

  • Views mount one at a time and ResizeObservers animate the panel size between them.
  • Article search filters an in-memory list; move it to your search API for a large help center.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use as the in-app help entry point of a SaaS product, mounted once near the app root.
  • Replace ARTICLES, TEAM, SUGGESTIONS and replyTo in support-widget-data.ts with your help center and real replies.
  • Wire onSend to your inbox or chat provider; the sample app page behind the launcher is decoration to remove.
/components/blocks/support-widget/markdown

The full library index for assistants is at /llms.txt.

Related

Search fieldComponentA recognizable search entry point with clear affordances.AvatarComponentA compact identity marker for people and accounts.Text morphComponentMorph a label into its next state, letter by letter.DialogComponentA focused surface for decisions that need attention.AI composerProBlockA focused assistant thread where messages lift out of the composer and replies stream in.
PreviousCohort retentionNextUsage forecast
animui · 84 block pagesllms.txt

On this page

  • Preview
  • When to use
  • When not to use
  • Installation
  • Usage
  • API reference
  • Keyboard
  • Accessibility
  • Motion
  • Responsive behavior
  • Performance
  • Notes for AI
  • Related
View as Markdown