Pular para o conteúdo
Skillpedia
Interfaces (UI/UX)20 mil · #10387

kortix-ui

O que ela faz

Esta skill orienta a IA no uso da biblioteca React @kortix/ui para interfaces como telas de chat, espaços de trabalho de sessão e painéis. É para desenvolvedores que criam apps no estilo Kortix ou painéis personalizados.

Quando usar

  • ✓Quando você criar uma página ou um componente React com a biblioteca @kortix/ui.
  • ✓Quando quiser uma tela de chat ou de sessão que combine com o visual da Kortix.
  • ✓Quando criar um painel personalizado que se conecte ao SDK da Kortix.

Link da skill

https://github.com/kortix-ai/suna/blob/dev/packages/ui/skills/kortix-ui/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/kortix-ai/suna/blob/dev/packages/ui/skills/kortix-ui/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Crie uma página React com uma tela de chat e uma barra lateral de projetos usando @kortix/ui.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A IA configura os estilos e o provider uma única vez e depois monta componentes prontos em vez de escrever os seus próprios. Segue as orientações da biblioteca para cada parte.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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

  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 project 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

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
Perguntas frequentes

Preciso do Tailwind?

Os estilos do pacote são feitos para o Tailwind v4. Sem o Tailwind, a skill diz para importar o arquivo completo de estilos uma vez.

Devo copiar o código dos componentes?

Não. A skill diz para instalar o pacote e nunca copiar o código-fonte dos componentes.

Ela é só para produtos da Kortix?

Ela foi feita para as superfícies da Kortix, mas também pode ser usada em painéis personalizados e apps de marca própria que instalem o pacote.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
20 mil
Posição no ranking
#10387
Licença
—
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas