@intentface/ui weekly downloads statistics
By intentface (10 listings) · npm · AI SDKs
Headless UI primitives — unstyled compound components, hooks, and wire formats for AI chat interfaces and the app shells around them.
@intentface/ui has 1,411 recorded weekly downloads on npm, an increase of 175% over the past 30 days, ranking #1980 of 3,247 tracked listings.
About @intentface/ui
@intentface/ui
Headless UI primitives for React — the behavior, state, and wire formats for AI chat interfaces and the app shells around them, with no styling of their own.
The package owns behavior; you own every class. There is no styled companion package and no theme to opt out of. The demos on each docs page are self-contained Tailwind, meant to be copied and restyled.
"use client";
import { Composer } from "@intentface/ui/composer";
import { Message } from "@intentface/ui/message";
import { Thread } from "@intentface/ui/thread";
import { groupTurns } from "./group-turns";
export const Chat = ({ messages, send }: ChatProps) => (
<Thread.Root
autoScroll="follow"
className="relative h-dvh [--thread-inset-top:1rem] [--thread-composer-gap:2rem]"
>
<Thread.Viewport className="h-full">
<Thread.Content className="mx-auto flex max-w-2xl flex-col gap-4 px-4 pt-(--thread-inset-top) pb-(--thread-inset-bottom) [&>*:last-child]:min-h-(--thread-turn-min-height)">
{groupTurns(messages).map((turn) => (
<Message.Turn key={turn.key} className="flex flex-col gap-4">
{turn.messages.map((message) => (
<Message.Root key={message.id} role={message.role}>
<Message.Text>{message.text}</Message.Text>
</Message.Root>
))}
</Message.Turn>
))}
</Thread.Content>
</Thread.Viewport>
<Thread.Composer className="absolute inset-x-0 bottom-0 mx-auto max-w-2xl p-4">
<Composer.Root onSubmit={send}>
<Composer.Container className="rounded-xl border p-2">
<Composer.Textarea placeholder="Ask anything" />
<Composer.Actions>
<Composer.Submit>Send</Composer.Submit>
</Composer.Actions>
</Composer.Container>
</Composer.Root>
</Thread.Composer>
</Thread.Root>
);
Every class above is yours, layout included. The thread applies no layout. It
publishes CSS variables instead, such as --thread-inset-bottom for the room the
composer takes and --thread-turn-min-height for the newest turn. The classes
position the composer, give the viewport a height, pad the content by those
variables and give the last turn its min-height, so the newest question and
its reply land together at the top. That is why each child of Thread.Content is a
Message.Turn. For a flat list of messages, use autoScroll="bottom" instead.
groupTurns is your own. It starts a turn at each user message, and the
quick start has one to copy.
Status
Pre-1.0. The primitives are in real use, but the API is still settling and
minor releases may contain breaking changes — the usual 0.x semver contract.
Pin an exact version if that matters to you, and check the
changelog
when upgrading.
Install
bun add @intentface/ui
react and react-dom (v19+) are peer dependencies. Nothing else ships with
it beyond one small runtime dep (@floating-ui/dom for anchored positioning) —
no editor framework, no animation library.
What's inside
Each primitive is a separate entry point, exporting an unstyled compound
component that renders semantic DOM with data-* state attributes, context
hooks, and a render prop for swapping the underlying element. Shell, nav and
tabs are app-shell parts rather than chat parts, and are useful on their own:
| Import | What it is |
|---|---|
@intentface/ui/composer | Rich-text input over a purpose-built contenteditable engine: / and @ command palette, inline chips, attachments, ask-user flow. One store per <Composer.Root>, or bring your own via Composer.createStore(). |
@intentface/ui/thread | Scroll container with at-bottom detection, auto-follow, and composer measurement. |
@intentface/ui/message | Message parts, turns, chip-segmented text, selection hooks. |
@intentface/ui/steps, /reasoning | Tool-call timelines and reasoning disclosure. |
@intentface/ui/shell | A collapsible, resizable sidebar beside the viewport it shares the screen with, with an edge hotspot. |
@intentface/ui/nav | A nav tree with roving focus, typeahead, collapsible groups, and a guide ladder down the left edge. |
@intentface/ui/tabs | An open-ended, closable tab collection whose panel renders in the layout or anchored to its own tab. |
@intentface/ui/chip, /attachments, /ask-user | The remaining building blocks. |
@intentface/ui/generative | Experimental. Typed helpers that check a model's UI tool call against a catalog, read it while it streams, resolve its data bindings, and write it as Markdown. |
@intentface/ui/types | The structural message contract + part type guards. |
@intentface/ui/chip-markdown | The self-describing chip wire format. |
AI SDK, structurally
The types are framework-agnostic. A Vercel AI SDK UIMessage satisfies
ChatMessage structurally, so there's no adapter — pass SDK messages straight
into the type guards and components:
import { isToolPart } from "@intentface/ui/types";
import type { UIMessage } from "ai";
// message: UIMessage
for (const part of message.parts) {
if (isToolPart(part)) track(part.toolCallId, part.state);
}
React Server Components
Each primitive is a namespace, and the root is explicit — Message.Root, not
Message. Server components can reach every part:
// A server component — no "use client" needed.
import { Message } from "@intentface/ui/message";
export const Transcript = ({ messages }: { messages: ChatMessage[] }) => (
<>
{messages.map((message) => (
<Message.Root key={message.id} role={message.role}>
<Message.Text>{text(message)}</Message.Text>
</Message.Root>
))}
</>
);
```…
Description from the npm listing.
- react
- chat
- ai
- headless
- ui
- components
- composer
- ai-sdk
- shell
- sidebar
- tabs
- nav
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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.
Each band is one page of 20. Weekly downloads on a linear 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.
Recent observations
Full history (135)Similar npm AI SDKs plugins
All 20 @intentface/ui alternativesData 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/@intentface/ui. First seen Nov 21, 2026; last successful collection Dec 6, 2026. See the methodology.