@candor-ui/react weekly downloads statistics
Candor UI's free tier as an npm package: React components for agents that do real work, on shadcn/ui and Tailwind 4.
@candor-ui/react has 580 recorded weekly downloads on npm, an increase of 7.0% over the past 30 days, ranking #2223 of 3,247 tracked listings.
About @candor-ui/react
@candor-ui/react
Candor UI's free tier as an npm package: React components and hooks for agent chat (thread, messages, tool calls, reasoning, composer, citations), the building blocks they use, the theme, and adapters for the Vercel AI SDK, the Claude Agent SDK and AG-UI. MIT licensed. By Methodic LLC.
This package is the trial path. It is the free tier as an npm package, for trying Candor before you copy its source into your app. It is not how a paid buyer installs, and Pro items can't import from it.
Everything else goes through the CLI, which copies the source into your app for you to own and edit:
npx candor-ui@latest init adds the @candor registry to your components.json and the theme to your CSS, then
npx candor-ui@4 add thread copies the item in (once the registry is there, npx shadcn@latest add @candor/thread does
the same). See https://candor.themethodic.com.
When you move on from the trial, move every Candor import over, not some: copy in the free components you import from
here (npx candor-ui@4 add <item>), import them from your components folder, and remove @candor-ui/react. Keep both
and each has its own providers: a LocaleProvider imported from this package doesn't reach the
copied components, Pro items among them, which then stay in English with the default nouns. npx candor-ui doctor
says when a project has both.
This package changes only when a free item changes, so its version is the kit's at the last release that changed one and
can be behind the kit's current version after a release that touched only Pro items. One exception: kit 3.0.0 is
@candor-ui/react 3.0.1, because 3.0.0 was published by mistake before the release and withdrawn, and npm doesn't
reuse a version. The
changelog says what each release changed.
Pro and Premium items aren't on npm. This package contains only the free (MIT) tier. Pro components and Premium blocks and templates install through the licensed shadcn registry (
@candorwith your licence key), not npm.
Install
npm install @candor-ui/react
Needs React 19 and Tailwind CSS 4. Base UI, lucide-react, class-variance-authority, clsx, tailwind-merge and the Inter font come with it.
Styles (Tailwind 4)
The components are styled with Tailwind classes and Candor's tokens. Import the theme after Tailwind in your global CSS:
@import "tailwindcss";
@import "@candor-ui/react/styles.css";
styles.css brings Candor's tokens (colours, type scale, radii, shadows, motion), the light, dark and high-contrast
themes, Inter and an @source for the package's own files, so Tailwind generates the classes the
components use even though it skips node_modules when scanning your app. If your setup doesn't follow @source
from imported CSS, add it yourself, relative to your CSS file:
@source "../node_modules/@candor-ui/react/dist";
Themes switch with data-theme="light" | "dark" | "hc" on <html>; with no attribute they follow the system. To
restyle, override the roles after the import: colours by their shadcn names (--primary, --background...),
everything else by its --cd-* name.
If your CSS already defines shadcn's variables (e.g. create-next-app's or shadcn init's globals.css), remove
those :root, .dark and @theme inline blocks or put them before the import, and don't redefine --font-sans
after it.
Font
styles.css loads Inter, self-hosted through @fontsource-variable/inter, which installs with the package. If your
app brings its own typeface, import styles-no-font.css instead: the same theme and tokens with no font loaded, so
Candor's font token falls back to the system's sans-serif (system-ui, Segoe UI, Roboto, Helvetica, Arial) until you
point it at yours:
@import "tailwindcss";
@import "@candor-ui/react/styles-no-font.css";
:root {
--cd-font: "Your Font", system-ui, sans-serif;
--cd-font-display: "Your Font", system-ui, sans-serif;
}
Components
"use client"
import * as React from "react"
import { Thread, Message, Composer, type MessageData } from "@candor-ui/react"
const messages: MessageData[] = [
{ id: "1", author: { role: "user" }, status: "complete", blocks: [{ kind: "paragraph", nodes: [{ kind: "text", text: "Hi" }] }] },
]
export function Chat() {
const [value, setValue] = React.useState("")
return (
<Thread footer={<Composer value={value} onChange={setValue} onSubmit={() => setValue("")} />}>
{messages.map((m) => <Message key={m.id} message={m} />)}
</Thread>
)
}
The main entry exports every free component, hook and type, plus cn. The chat data types are MessageData and
ToolCallData, beside the Message and ToolCall components.
Client components carry "use client", so they work from Server Components in the Next.js App Router. Hooks
(useCopy, useCandorChat...) are for client components, as usual.
With the Vercel AI SDK: @candor-ui/react/ai-sdk
npm install ai @ai-sdk/react
"use client"
import { useChat } from "@ai-sdk/react"
import { Thread, Message, Composer } from "@candor-ui/react"
import { useCandorChat } from "@candor-ui/react/ai-sdk"
export function Chat() {
const chat = useChat()
const { messages, composer, approvals, respond } = useCandorChat(chat, { agent: { id: "a", name: "Assistant", role: "assistant" } })
return (
<Thread footer={<Composer {...composer} />}>
{messages.map((m) => <Message key={m.id} message={m} />)}
</Thread>
)
}
Also exports fromAiSdkMessages / fromAiSdkMessage to map UIMessages yourself.
With the Claude Agent SDK: @candor-ui/react/claude and @candor-ui/react/claude/server
npm install @anthropic-ai/claude-agent-sdk
```…
Description from the npm listing.
- react
- agent
- chat
- ai
- shadcn
- tailwindcss
- claude
- ai-sdk
- ag-ui
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 (142)Similar npm AI SDKs plugins
All 20 @candor-ui/react 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/@candor-ui/react. First seen Nov 10, 2026; last successful collection Dec 6, 2026. See the methodology.