kortix-ui
What it does
This skill guides the AI through using the @kortix/ui React library for interfaces such as chat views, session workspaces, and dashboards. It is for developers building Kortix-style apps or custom dashboards.
When to use it
- ✓When you build a React page or component with the @kortix/ui library.
- ✓When you want a chat or session view that matches the Kortix look.
- ✓When you build a custom dashboard that connects to the Kortix SDK.
Skill link
https://github.com/kortix-ai/suna/blob/dev/packages/ui/skills/kortix-ui/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Build a React page with a chat view and a project sidebar using @kortix/ui.”
5 new skills a week. 1 minute to read.
How it works
The AI sets up the styles and provider once, then composes ready-made components instead of writing its own. It follows the library guidance for each piece.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
@kortix/ui
@kortix/ui is the one React component library for every Kortix surface: apps/web, Kortix Apps, the
white-label demo and SDK customer apps. Components are Tailwind v4 class strings that read CSS variables.
Docs: https://kortix.com/docs/developers#kortix-ui. Live catalog: https://kortix.com/design-system.
Install: npm i @kortix/ui @kortix/sdk, the same version of each (peers: references/custom-dashboard.md).
Module entries and @kortix/ui/theme need 0.14.4+. Inside kortix-ai/suna: "workspace:*". Never copy component source.
1. Set up once
- Styles. A Tailwind v4 host:
@import 'tailwindcss'; @import '@kortix/ui/tailwind.css';in its main CSS, plus the optional peerstw-animate-css,tailwind-scrollbar,tailwind-scrollbar-hide. A host without Tailwind imports@kortix/ui/styles.cssonce: every class the package uses, none of yours. - Fonts.
@kortix/ui/fonts.css(Roobert) is for Kortix-owned surfaces only. A white-label host never imports it. - Mount once at the root:
QueryClientProvider,UiProvider(link,navigation: your router,observesHistory: trueunder Next.js;components: host slots, a missing slot hides its control;config:managedModelsEnabled,connectorsEnabled,terminalEnabled,cliConnectEnabled,publicSharesEnabled,commandPaletteShortcut,settingsShortcut,accountApiEnabled;resolvePreviewUrl;useBrand: your marks;i18n,strings,image,useViewerId: without it no sender name or "Stopped by" shows),IconProvider(@kortix/ui/icon-provider), one<Toaster />(@kortix/ui/toast).setUiTelemetry(@kortix/ui) once at module load. Dark mode isdarkon<html>. SDKbillingEnabledstays off (Kortix's app only). - Ids, never route params.
SessionThread,SessionWorkspaceandProjectHomemountSessionIdsProviderand the SDK project scope themselves. A block outside them:KortixProjectProvider(@kortix/sdk/react) andSessionIdsProvider(projectId,sessionId) around it. Links followsetUiRoutes(@kortix/ui): map each page you do not serve tonull. - Import by subpath:
import { Modal } from '@kortix/ui/modal'. The root@kortix/ui(section 7) needs no@kortix/sdk.
2. Compose before you create
| Job | Compose | Subpath |
|---|---|---|
| Dialog or sheet | Modal, ModalContent, ModalHeader, ModalTitle, ModalBody, ModalFooter |
modal |
| Destructive action | ConfirmDialog before the mutation, never a single click |
confirm-dialog |
| Tooltip on an icon button | Hint label="…" |
hint |
| Toast after a mutation | successToast, errorToast, infoToast, warningToast, loadingToast |
toast |
| Status chip; count beside a label | Badge size="sm"; CountBadge (waiting, reminder, conflict, neutral) |
badge, count-badge |
| Inline alert | InfoBanner tone="…" title="…" |
info-banner |
| Pending spinner | Loading (default export) |
loading |
| Expand and collapse | Disclosure, DisclosureTrigger, DisclosureContent |
disclosure |
| Form field; search field | Field, FieldLabel, FieldGroup, FieldDescription with Input, Textarea, Select; InputGroupSearch |
field, input-group |
| Panel; buttons side by side | Card and its slots, or bg-popover rounded-md border px-4 py-5; ButtonGroup |
card, button-group |
| Tabs and filters | Tabs, TabsList, TabsListCompact |
tabs |
| Menu, picker, palette | DropdownMenu, Popover, Command |
dropdown-menu, popover, command |
| Table and empty list | Table; Empty with one muted line |
table, empty |
A new primitive is the last step: tokens only, a small API, and a section on /design-system.
3. Banned
| Never | Use |
|---|---|
Dialog / DialogContent in feature code |
Modal |
Tooltip primitives in feature code |
Hint |
toast() from sonner, toast.success() |
the toast helpers and <Toaster />, all from @kortix/ui/toast; a host needs no sonner import |
An icon with animate-spin, CircleNotchIcon, SpinnerIcon |
Loading |
A hand-rolled chip <span> or a colored banner |
Badge, InfoBanner |
SectionCard, List / ListRow |
Card, <ul className="space-y-2"> rows |
lucide-react or another icon set |
@phosphor-icons/react, *Icon names, no weight prop (only weight="fill" for solid status glyphs) |
| A fork or a restyled copy of a component | the component as it ships; the |
FAQ
Do I need Tailwind?
The package styles are built for Tailwind v4. Without Tailwind, the skill says to import the complete styles file once.
Should I copy the component code?
No. The skill says to install the package and never copy its component source.
Is it only for Kortix products?
It is built for Kortix surfaces, and it can also be used in custom dashboards and white-label apps that install it.
Details
Original description by the author
Build React UI with @kortix/ui, the Kortix component library and the whole Kortix session experience as modules (session workspace, thread, composer, side panel, files, file viewer, terminal, project sidebar and home, customize pages): Kortix Apps, white-label hosts, custom dashboards on @kortix/sdk and apps/web. Load before you write a component, a page, a chat or session view, a custom dashboard or App, or a className in a React host that renders Kortix UI, or when you theme Kortix components for another brand. Covers setup, the module map, which component to compose, banned primitives, toke
repo: kortix-ai/suna
Popularity
- GitHub stars
- 20k
- Ranking position
- #10387
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
claude-code
20kLets your agent hand a coding, review, or planning task to Anthropic's Claude Code CLI and capture the result so it can be checked.
codex-cli
20kLets your agent hand a coding or review task to OpenAI's Codex CLI and capture the result, so a second model can check the work.
commit-dis
20kLets your agent save only the changes made in this chat as one commit on your current Git branch, without pushing or creating a new branch.
composio
20kHelps your agent use Composio to connect apps like Gmail, Slack, GitHub, and Notion, for your own agent or for a product you build.
Similar skills
canvas
394kLets your agent show a hosted visual widget on a connected Mac panel, then hide the panel or move it to another page.
control-ui
394kHelps your agent organize and troubleshoot the OpenClaw Control UI, including sessions, dashboards, and connected Gateways.
diagram-maker
394kHelps your agent create clear diagrams as SVG, HTML, or editable Excalidraw files for processes, system architecture, and whiteboard sketches.