kortix-ui
यह क्या करती है
यह स्किल AI को @kortix/ui React library से chat व्यू, session workspace और dashboards जैसे इंटरफ़ेस बनाने में मार्गदर्शन देती है। यह Kortix शैली के ऐप्स या कस्टम dashboards बनाने वाले डेवलपरों के लिए है।
कब इस्तेमाल करें
- ✓जब आप @kortix/ui library से React पेज या component बना रहे हों।
- ✓जब आपको Kortix जैसा मेल खाता chat या session व्यू चाहिए।
- ✓जब आप कस्टम dashboard बना रहे हों जो Kortix SDK से जुड़ता हो।
Skill का लिंक
https://github.com/kortix-ai/suna/blob/dev/packages/ui/skills/kortix-ui/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“@kortix/ui से एक React पेज बनाइए जिसमें chat व्यू और project sidebar हो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI styles और provider एक बार सेट करता है, फिर अपने components लिखने की बजाय तैयार components जोड़ता है। हर हिस्से के लिए वह library के दिशानिर्देश मानता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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 |
अक्सर पूछे जाने वाले सवाल
क्या मुझे Tailwind चाहिए?
पैकेज की styles Tailwind v4 के लिए बनी हैं। Tailwind के बिना, स्किल कहती है कि पूरी styles फ़ाइल एक बार import करें।
क्या मुझे component का कोड कॉपी करना चाहिए?
नहीं। स्किल कहती है कि पैकेज इंस्टॉल करें और उसका component सोर्स कभी कॉपी न करें।
क्या यह केवल Kortix उत्पादों के लिए है?
यह Kortix सतहों के लिए बनी है, और इसे कस्टम dashboards और white-label ऐप्स में भी इस्तेमाल किया जा सकता है जो इसे इंस्टॉल करते हैं।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 20k
- रैंकिंग में स्थान
- #10387
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
claude-code
20kआपके एजेंट को कोडिंग, समीक्षा या योजना का काम Anthropic के Claude Code CLI को सौंपने देती है, और नतीजा जाँच के लिए वापस लेती है।
codex-cli
20kआपके एजेंट को कोडिंग या समीक्षा का काम OpenAI के Codex CLI को सौंपने और नतीजा वापस लेने देती है, ताकि दूसरा मॉडल काम की जाँच कर सके।
commit-dis
20kआपके एजेंट को इस चैट में किए गए बदलावों को आपकी मौजूदा Git branch पर एक commit में सहेजने देती है, बिना push किए या नई branch बनाए।
composio
20kआपके एजेंट को Composio से Gmail, Slack, GitHub और Notion जैसे ऐप्स जोड़ने में मदद करती है, चाहे वह आपका अपना एजेंट हो या आपका बनाया प्रोडक्ट।
मिलती-जुलती skills
canvas
394kयह आपके एजेंट को जुड़े Mac पैनल पर होस्टेड विज़ुअल विजेट दिखाने, पैनल छिपाने या उसे दूसरे पेज पर ले जाने देती है।
control-ui
394kयह आपके एजेंट को OpenClaw Control UI को व्यवस्थित करने और उसमें आने वाली दिक्कतें सुलझाने में मदद करती है, जिसमें सेशन, डैशबोर्ड और जुड़े Gateway शामिल हैं।
diagram-maker
394kयह आपके एजेंट को प्रक्रियाओं, सिस्टम आर्किटेक्चर और व्हाइटबोर्ड स्केच के लिए SVG, HTML या संपादन योग्य Excalidraw फ़ाइलों में साफ़ डायग्राम बनाने में मदद करती है।