Kortix Ui logo

Kortix Ui

OrganizationPopular
kortix-ai
kortix-ui

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, workspace 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, tokens, the dashboard guide, white-label theming and the verify steps.

Overview

Publisherkortix-ai
RepositoryCompanyOS
Skill namekortix-ui
Stars
20.8K
Forks
3.5K
Bundled files
3
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by kortix-ai on GitHub. Read the source before you install it.

Installation

Install the Kortix Ui AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/kortix-ai/CompanyOS/tree/dev/packages/starter/templates/managed/skills/kortix-ui
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kortix-ai/CompanyOS.git /tmp/CompanyOS
mkdir -p .claude/skills
cp -r /tmp/CompanyOS/packages/starter/templates/managed/skills/kortix-ui .claude/skills/kortix-ui
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Kortix Ui in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Kortix Ui on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Kortix Ui is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

@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/CompanyOS: "workspace:*". Never copy component source.

1. Set up once

  1. Styles. A Tailwind v4 host: @import 'tailwindcss'; @import '@kortix/ui/tailwind.css'; in its main CSS, plus the optional peers tw-animate-css, tailwind-scrollbar, tailwind-scrollbar-hide. A host without Tailwind imports @kortix/ui/styles.css once: every class the package uses, none of yours.
  2. Fonts. @kortix/ui/fonts.css (Roobert) is for Kortix-owned surfaces only. A white-label host never imports it.
  3. Mount once at the root: QueryClientProvider, UiProvider (link, navigation: your router, observesHistory: true under 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 is dark on <html>. SDK billingEnabled stays off (Kortix's app only).
  4. Ids, never route params. SessionThread, SessionWorkspace and ProjectHome mount SessionIdsProvider and the SDK workspace scope themselves. A block outside them: KortixProjectProvider (@kortix/sdk/react) and SessionIdsProvider (projectId, sessionId) around it. Links follow setUiRoutes (@kortix/ui): map each page you do not serve to null.
  5. Import by subpath: import { Modal } from '@kortix/ui/modal'. The root @kortix/ui (section 7) needs no @kortix/sdk.

2. Compose before you create

JobComposeSubpath
Dialog or sheetModal, ModalContent, ModalHeader, ModalTitle, ModalBody, ModalFootermodal
Destructive actionConfirmDialog before the mutation, never a single clickconfirm-dialog
Tooltip on an icon buttonHint label="…"hint
Toast after a mutationsuccessToast, errorToast, infoToast, warningToast, loadingToasttoast
Status chip; count beside a labelBadge size="sm"; CountBadge (waiting, reminder, conflict, neutral)badge, count-badge
Inline alertAlert + AlertTitle + AlertDescriptionalert
Pending spinnerLoading (default export)loading
Expand and collapseDisclosure, DisclosureTrigger, DisclosureContentdisclosure
Form field; search fieldField, FieldLabel, FieldGroup, FieldDescription with Input, Textarea, Select; InputGroupSearchfield, input-group
Panel; buttons side by sideCard and its slots, or bg-popover rounded-md border px-4 py-5; ButtonGroupcard, button-group
A selection, unsaved edits or a pending paste needs actionsActionBar in an ActionBarDock at the bottom of the column; actions take kbd, tone, emphasisaction-bar
Tabs and filtersTabs, TabsList size="xs", TabsTriggertabs
Menu, picker, paletteDropdownMenu, Popover, Commanddropdown-menu, popover, command
Table and empty listTable; Empty with one muted linetable, empty

A new primitive is the last step: tokens only, a small API, and a section on /design-system.

3. Banned

NeverUse
Dialog / DialogContent in feature codeModal
Tooltip primitives in feature codeHint
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, SpinnerIconLoading
A hand-rolled chip <span> or a colored bannerBadge, Alert
SectionCard, List / ListRowCard, <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 of a component, or @base-ui/react, @radix-ui/*, cmdk, vaul in a hostthe component as it ships, themed with tokens (section 6); asChild on its parts, Slot from @kortix/ui/slot

4. Tokens only

  • Colors are semantic utilities (bg-background, bg-card, bg-muted, text-muted-foreground, border-border, bg-primary, text-destructive). Never a hex, rgb(), oklch() or a palette class (text-emerald-600).
  • --spacing is 0.23rem, 8% tighter than stock Tailwind: a 16px mockup gap is gap-4, never gap-[16px].
  • rounded-md for panels and fields; elevation only on overlays. Hover is transition-colors duration-fast; no motion over 300 ms.

5. Status tones

One meaning per hue. StatusTone (@kortix/ui/status): success, warning, destructive, info, neutral, for StatusBadge and STATUS_DOT; Badge variants map the same, muted for neutral. Alert accepts only default, success, warning, and destructive. Map info and neutral notices to variant="default". Tinted icon tile: bg-kortix-green/15 (or -orange, -blue) with the icon in the full hue.

Example: <Alert variant="default"><AlertTitle>…</AlertTitle><AlertDescription>…</AlertDescription></Alert> from @kortix/ui/alert. Never pass title to Alert: it is a native tooltip attribute, not visible content.

6. White-label

Theme with @kortix/ui/theme, never by forking a component: themeToCss(theme) in a <style> for the app, <ThemeScope theme> for one subtree (its overlays portal into it). KortixTheme fields are all optional: light / dark colors (blue accent, ring focus, border, muted, foreground, background, primary, any --custom), radius, borderWidth, fonts.sans / fonts.mono, spacing, text, lineHeights, shadows, durations, easing, vars. Pass the organization's marks to UiProvider useBrand. Every key, default and limit: references/theming.md.

7. Components

Import fromNames
@kortix/ui (adapters)cn, UiProvider, defaultUiStrings, useUiStrings, useUiLink, useUiImage, useUiBrand, UiStrings, UiStringsInput, UiLinkProps, UiLinkComponent, UiImageProps, UiImageComponent, UiBrand, UseUiBrand, useIsDark, useUiRouter, useUiShallowNavigate, UiShallowNavigate, useUiPathname, useUiSearchParams, useUiParams, defaultUiNavigation, UiNavigation, UiRouter, UiRouteParams, UiSearchParams, useUiViewerId, useUiHostConfig, defaultUiHostConfig, UiHostConfig, UiSlashAction, SessionIdsProvider, useSessionIds, UiSessionIds
@kortix/ui (actions, display)Button, buttonVariants, ButtonProps, Badge, badgeVariants, Card, CardAction, CardButton, CardContent, CardDescription, CardEyebrow, CardFeature, CardFooter, CardGroup, CardHeader, CardImage, CardMedia, CardTitle, CardButtonProps, CardButtonSize, CardButtonVariant, CardGroupProps, CardLogo, CardProps, Separator, Skeleton
@kortix/ui (forms)Input, inputFocusClasses, inputInvalidClasses, inputSurfaceClasses, inputTransitionClasses, InputProps, useAutosizeTextArea, Textarea, AutosizeTextAreaRef, AutosizeTextAreaProps, Label, Checkbox, CheckboxProps, CheckboxVariant, Switch, SwitchProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectTriggerProps
@kortix/ui (overlays)Modal, ModalBody, ModalClose, ModalContent, ModalContentInner, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, Hint, HintProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger
@kortix/ui (primitives, not for feature code: section 3)Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger
@kortix/ui (navigation)FilterBar, FilterBarItem, Tabs, TabsContent, TabsList, TabsTrigger, tabsTriggerHeightVariants, tabsTriggerPaddingVariants, tabsTriggerTextVariants, TabsListType, TabsSize, TabsTriggerSize, TabsTriggerVariant, TabsUnderlineSize
@kortix/ui (conversation)Bubble, BubbleContent, BubbleGroup, BubbleReactions, bubbleVariants, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, Marker, MarkerContent, MarkerIcon, markerVariants
@kortix/ui (hooks, helpers)UiLink, UiImage, useUiViewer, UiViewer, UiHostComponents, UiPreviewUrlResolver, UiPreviewRequest, useDebounce, useIsMobile, useMediaQuery, useSlashFocus, lazyClient, spring, floatingZ, dialogContentZ, dialogOverlayZ, useDialogDepth, hasOpenFloatingLayer, hasOpenNestedDialog, DEFAULT_ICON_WEIGHT, ICON_WEIGHTS, SHIPPED_ICON_WEIGHTS, faviconUrlForHostname, setUiTelemetry, setUiHostEnv, setUiRoutes, uiRoutes, newSessionHref, isNewSessionRequested, defaultUiRoutes, decodeSpaceSegment, UiRoutes
@kortix/ui/themeKortixTheme, themeToCss, themeToCssVars, ThemeScope, ThemeScopeProps, THEME_COLOR_VARS, ThemeColor, ThemeColors, ThemeCssVars, ThemeTextStep, ThemeShadowStep, ThemeDurationStep, ThemeEasing, WALLPAPERS, DEFAULT_WALLPAPER_ID, getWallpaperById, Wallpaper, getSelectableWallpaper, PickerWallpaper, PickerWallpaperId, GRADIENT_PRESETS, GRADIENT_PATTERNS, GRADIENT_FINISHES, GRADIENT_MIN_COLORS, GRADIENT_MAX_COLORS, GradientConfig, GradientPattern, GradientFinish, GradientWallpaperId, gradientColors, CUSTOM_PALETTES, CUSTOM_COLOR_PRESETS, DEFAULT_CUSTOM_WALLPAPER, CustomWallpaperConfig, customGradientConfig, normalizeCustomWallpaper, nextCustomColor, randomCustomColors, randomCustomWallpaper, PresetOverride, PresetOverrides, normalizePresetOverrides, presetWithOverride, DEFAULT_WALLPAPER_OPACITY, OPACITY_LIMITS
@kortix/ui/session (whole thread)SessionThread, SessionThreadProps
@kortix/ui/session (blocks)UserMessage, ThrottledMarkdown, UnifiedMarkdown, UnifiedMarkdownProps, ToolPartRenderer, SessionChatInput, SessionChatInputProps, AgentSelector, ModelSelector, ModelSelectorProps, SessionPermissionPrompt, QuestionPrompt, QuestionPromptHandle, TurnErrorDisplay, SessionBusyIndicator, SessionStartingLoader
@kortix/ui/session (tool rows, pickers)ToolRegistry, ToolProps, ToolComponent, BasicTool, BasicToolProps, GenericTool; for a form outside a session: ModelSelector, AgentSelector

Every other primitive is one subpath per file: @kortix/ui/<file name> (@kortix/ui/dot-matrix/<name> for the dot matrices). Also: lib/telemetry (UiTelemetryRegister: declaration-merge event), error-boundary (ErrorBoundary, ErrorBoundaryFallback).

8. Modules

One entry per module. Its curated names are the public API (semver). Every name, prop and a compiling example: references/modules.md.

EntryWhat it isMinimal mount
@kortix/ui/workspaceWorkspace screens: SessionWorkspace (thread + side panel), ProjectHome, ProjectSessionList, ProjectFilesView<SessionWorkspace session={useSession(p, s)} />; the list inside SidebarProvider
@kortix/ui/sessionThe conversation: SessionThread, turns, ToolRegistry, prompts, pickers<SessionThread session={useSession(p, s)} />
@kortix/ui/composerThe composer, its chrome, the send pipeline<ComposerChatInput projectId onSend /> in the workspace scope
@kortix/ui/session-panelThe side panel: ActionPanel, SessionFiles, SessionChanges, SessionAuditSessionPanelProvider (runtime sessionId, projectId, projectSessionId)
@kortix/ui/filesWorkspace files (git repo), sandbox files, FilePreviewHostProjectFilesView (workspace); <FilePreviewHost /> once on a page without a side panel
@kortix/ui/file-viewerAny file kind: pdf, docx, xlsx, csv, pptx, zip, images, code<FileViewer content fileName />; FileContentRenderer in FileSourceProvider
@kortix/ui/terminal, @kortix/ui/browserThe session shell; the sandbox browserthe runtime ids of a mounted useSession
@kortix/ui/markdown, @kortix/ui/genuiMarkdown with code, math, links; GenUI blocks<UnifiedMarkdown content trust="agent" />; genui renders GenUI fences
@kortix/ui/diff, @kortix/ui/changesOne diff; a change list<DiffView before after />
@kortix/ui/apps, @kortix/ui/artifactsApp frames, the frame pool, the App view model; artifact frames and session cardsnone
@kortix/ui/access, @kortix/ui/customizeSharing and roles; workspace configuration pages<ConnectorsPage projectId />
@kortix/ui/theme, @kortix/ui/i18n, @kortix/ui/iconsTheme; useTranslations, useLocale (next-intl signatures); glyphsnone

Deep paths (@kortix/ui/internal/*, @kortix/ui/<module>/<path>) have no semver: only Kortix's own apps import them (scripts/deep-exports.json).

9. Recipes

tsx
import { useSession } from "@kortix/sdk/react";
import { SessionWorkspace } from "@kortix/ui/workspace";
export function Session({ projectId, sessionId }: { projectId: string; sessionId: string }) {
  return <SessionWorkspace session={useSession(projectId, sessionId)} />;
}
  • The parent sets the height (also of ProjectFilesView). Install @tanstack/react-query, @openuidev/lang-core@0.3.1 and zod with it. SessionThread (@kortix/ui/session) is the thread alone; with no side panel, file and preview opens show in a dialog.
  • A custom tool row: ToolRegistry.register('<tool name>', Row); Row gets ToolProps, draws BasicTool.
  • A whole dashboard or App (client, router adapters, sidebar, workspace home, session, files, theme, tool row, App sign-in): references/custom-dashboard.md. Never a raw fetch: the SDK has the call, or gets it.

10. Verify

  1. tsc --noEmit adds no error. Run the page in light and dark, at 720 × 480 and a phone width; click every control.
  2. Your diff has no hex, rgb(, -[ spacing bracket, lucide-react, toast( or animate-spin. Kortix-internal: .agents/skills/kortix-brand/scripts/audit.sh <paths> is clean. White-label: a new --kortix-blue reaches a checked Switch.

11. Kortix-internal work

In kortix-ai/CompanyOS, kortix-brand (values, voice) and kortix-design-system (which component) in .agents/skills/ win over this file. apps/web imports @kortix/ui like any host and keeps no re-export shims: edit the component in packages/ui/src/.

Copy and completion icons

  • Every copy action uses CopyButton from @kortix/ui/markdown/copy-button: text, links, code, tokens, and IDs.
  • It uses Copy from @kortix/ui/icons (packages/ui/src/icons/copy.tsx) and swaps in SolidCheckIcon from @kortix/ui/internal/icons/solid-check-icon after clipboard success. Keep one fixed icon box. Reduced motion swaps immediately.
  • Within packages/ui, custom copy controls reuse AnimatedCopyIcon with those same two icons. Hosts compose CopyButton. Preserve clipboard error handling and an accessible label. Never use Phosphor CopyIcon or a local copy timer.
  • Completion and success use SolidCheckIcon. Never use a square filled CheckIcon as a completion symbol. A checkbox is for an editable selection only.
  • Avoid crowded cards. Use one heading, short facts, and one primary action. Put secondary explanation in an info hover card. Keep space between header, body, and actions. Do not stack a description under every fact.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Kortix Ui AI skill do?

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, workspace 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,...

Why use Kortix Ui on TypingMind?

Because you install it once and use it with any model. Kortix Ui is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Kortix Ui in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/kortix-ai/CompanyOS/tree/dev/packages/starter/templates/managed/skills/kortix-ui. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Kortix Ui?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Kortix Ui?

As many as you like. As long as a model supports skills, you can use Kortix Ui with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Kortix Ui AI skill free?

It is published on GitHub by kortix-ai. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇