@jaetask/toolkit
v0.3.24
Published
The agent-native toolkit's ui parts, ported with the suite's look, plus the suite's app shell and page kit.
Maintainers
Readme
@jaetask/toolkit
The agent-native toolkit's parts with the suite's look, plus the suite's shell and page kit, so every Kit app looks and works the same.

Install
npm install @jaetask/toolkit react react-dom
npm install -D tailwindcss @tailwindcss/cliEach new version is published to npm by the publish workflow through npm trusted publishing, so no npm token is stored.
Set up an app
The ui parts are styled with Tailwind 4, as in the agent-native toolkit. The app's CSS entry:
@import "tailwindcss";
@import "@jaetask/toolkit/styles.css";
@source "./**/*.{ts,tsx}";Build it with Tailwind (npx @tailwindcss/cli -i app.css -o public/app.css), load Inter in the page (for example import "@fontsource-variable/inter"), and, when bundling with esbuild rather than Vite, define import.meta.env (for example --define:import.meta.env='{"SSR":false,"MODE":"production","DEV":false}').
styles.css carries the suite's theme (theme/suite-theme.css): the --background, --foreground, --primary and other variables the ui parts read, with light values on :root and dark ones under .dark.
Use
The ui parts have the agent-native toolkit's names and props:
import { Button } from "@jaetask/toolkit/ui/button";
import {
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
} from "@jaetask/toolkit/ui/select";
import { ResourceIconPicker } from "@jaetask/toolkit/icons";The suite's shell and page kit, built on those parts:
import { AppShell, EditFrame, PageBody, Panel, Row, EditLink } from "@jaetask/toolkit/suite";What is in it
| Entry | Holds |
| ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| @jaetask/toolkit | Everything below except the suite, as the agent-native toolkit's main entry exports it. |
| /ui, /ui/* | The ui parts: accordion, alert, alert-dialog, avatar, badge, button, card, checkbox, collapsible, command, context-menu, dialog, dropdown-menu, empty, form, hover-card, input, label, popover, select, separator, skeleton, switch, tabs, textarea, toggle, toggle-group, tooltip and the rest. |
| /icons | ResourceIcon and ResourceIconPicker, with the Tabler catalogue, emoji, colours and recents. |
| /editor, /editor.css, /collab-ui | The rich Markdown editor: RichMarkdownEditor, SharedRichEditor, SlashCommandMenu, BubbleToolbar, code blocks and images. Import @jaetask/toolkit/editor.css after styles.css. |
| /app/review | InlineMarkdown. |
| /hooks, /design-system, /provider, /utils | What the ui parts rely on, including cn. |
| /suite | The suite's parts: AppShell, SideSection, SideLink, PageBody, Panel, EditFrame, Row, EditLink, PageLink, PrimaryLink, BackLink, ListCard, ListRow, StatusDot, EntityNav, Board, Column, Thread, Comment, Reactions, ActivityRow, Facts, Composer, FileButton, Thumbs, CenteredPage, Kicker, and LinkProvider for the app's router. |
| /styles.css | The Tailwind setup, the theme and the suite's styles. |
The ux-flow skill
skills/ux-flow is the rule these components follow. Install it in an app:
npx skills add jaetask/toolkit --skill ux-flowtoolkit-guard
npx toolkit-guard src fails when an app hand-builds what the toolkit has:
| Rule | Fails when |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| own-kit | The app defines its own AppShell, Sidebar, Panel, EditFrame, Row, ListRow or another toolkit component. |
| tokens-only | App code or CSS holds a literal colour instead of a --tk- token. |
| shell-present | No file imports AppShell from @jaetask/toolkit. |
| no-focus-rings | A class asks for a ring or an outline on focus (focus-visible:ring-2), or CSS draws an outline. The suite draws no ring round a focused part. |
A line that must keep a literal ends with the comment toolkit-guard-allow.
Changes
Push a branch, never main. A pull request to main opens by itself and merges when the ci check passes.
Credit
The ui parts, icons, hooks, design-system, provider and utils are ported from the toolkit of agent-native (MIT, Copyright (c) 2026 Builder.io, Inc.), with the suite's theme.
Licence
MIT. See LICENSE.
