/kx-dashboards-knowledge:kx-tabsfrom kx-dashboards-knowledge
Provides a KX Dashboards tabbed container to group components into switchable tabs. Manages dual arrays (components/widgets), containerId, and tab visibility.
Ships in kx-dashboards-knowledge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
key: "Tabs" · definitionId: "26" · version: "v2.14.0"
Also read kx-dashboard-core for: envelope, screen/widget wrapper, data sources, ViewState, binding patterns, actions, and the pre-flight checklist.
The Tabs component is a container: it does not render data itself, it groups other components (Datagrid, ChartGL, Panel, Text, …) into named, switchable tabs. Each child is assigned to a tab by containerId.
This skill uses progressive disclosure: the hazards, workflow, and validation rules are here; the bulky JSON schema, field tables, worked examples, and regression tests live in reference/. Read only the reference file relevant to your current step.
| File | Read it when you need… |
|---|---|
| reference/component-schema.md | The component identity, full options envelope (components[], widgets[], Items[], Selection, dropdownPossibleValues, Basics, Style, Alignment, format), field tables, the UUID checklist, NL→JSON mapping rules, and ViewState-on-switch wiring. |
| reference/examples.md | Five worked NLQ → JSON examples (empty tabs, a child per tab, default tab, ViewState-on-switch, hidden/PDF-excluded tabs) to copy from. |
| reference/nlq-tests.md | Maintainer NLQ regression queries to retest on every MR that changes this skill. |
components[] and widgets[] must BOTH be populated. Empty arrays = blank tabs. Every child appears in both arrays, each with containerId set to the target tab's Items[n].Id.components[] = lightweight copy (minimal options — just enough to register the child). widgets[] = full definition (complete options + grid layout, used for rendering).containerId must be set in three places per child: the components[] entry, the widgets[] wrapper, and widgets[].component. All three carry the same tab Items[].Id.components[n].id and widgets[n].component.id. The widgets[n].id (the wrapper) is a separate UUID.target_tab is a 0-based integer (0 = first tab). Not a string, not the tab name. 1 opens on the second tab by default.Items[].Id must be a unique GUID per tab. Generate fresh UUIDs — never reuse, never leave empty.dropdownPossibleValues mirrors Items[] but uses sequential numeric Id starting at 0 (0, 1, 2 …), not the GUIDs.containerId is null (unless the Tabs itself is nested inside another container).Items[].Id), plus a child id + wrapper id per child. See the UUID checklist in reference/component-schema.md.key: "Tabs", definitionId: "26", version: "v2.14.0", containerId: null, Items[] and a length/order-matched dropdownPossibleValues (numeric ids). Full schema in reference/component-schema.md.components[] and a full, positioned definition in widgets[], with containerId = the target tab's Items[].Id in all three places (see Hazards #1–#3).Selection — target_tab (0-based integer), and optionally unloadInactive, expandOnPdf, and SetViewStateOnSelect for ViewState-on-switch (see reference/component-schema.md).reference/examples.md when one matches the request.Before returning any Tabs JSON:
key is "Tabs" and definitionId is the string "26"options.version is "v2.14.0"Basics.ComponentName is "tabs"containerId is null (unless nested in another container)Items[] entry has a unique, freshly-generated GUID IddropdownPossibleValues has the same count/order as Items[], with numeric Id (0,1,2…) and matching NamesSelection.target_tab is a 0-based integer within range (0 … Items.length-1)components[] and widgets[]containerId appears in three places (components[] entry, widgets[] wrapper, widgets[].component) and equals an existing Items[].Idcomponents[n].id equals widgets[n].component.id (same UUID); widgets[n].id is a different UUIDwidgets[] wrapper has a layout block (row, column, rowSpan, colSpan)components[]/widgets[] empty for that tab (blank panel is valid)Style, Actions, Alignment, and format blocks are present and completeid fields are unique UUIDs across the entire dashboardWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
tabs, kx-dashboards, tabbed-navigation, container, dashboard-ui
npx claudepluginhub kxsystems/kx-skills --plugin kx-dashboards-knowledge32 skills in this plugin
/kx-accordionUse this when the user wants collapsible or expandable sections in a KX Dashboards layout. Use it for section-based content organization; use kx-tabs for tabbed switching and kx-flex-panel for non-collapsible flexible layout containers./kx-actionsUse this alongside a component skill when adding KX Dashboards interactions such as clicks, hovers, row selection, navigation, or data-source re-execution. It defines how actions are attached and triggered, not the base component itself./kx-basiccomponents-containersUse this for KX Dashboards layout containers and navigation primitives such as panels, navigation menus, and overlay drawers. Use it for structural layout needs; use kx-tabs for tabbed switching, kx-accordion for collapsible sections, and kx-flex-panel for fixed-plus-flex layouts./kx-breadcrumbsUse this when the user wants a KX Dashboards breadcrumb trail for hierarchical drilldown or drill-through navigation, especially with pivot grids or chart-based exploration. Use kx-tabs for tabbed navigation instead of breadcrumbs./kx-buttonUse this when the user wants a KX Dashboards button or clickable action trigger: labels, icons, tooltips, alignment, fixed width, disabled state, colours, and click actions. Use it for buttons and action triggers; use kx-textinput for free-text entry, kx-dropdown for selection lists, or kx-selectioncontrols for radio/checkbox choices./kx-chart3dUse this when the user wants a KX Dashboards 3D chart or 3D visualisation: scatter, line, bar, surface, or 4D color/size-encoded layers. Use it for 3D graphics; use kx-chartgl for standard 2D WebGL charts and kx-gauge for dial or bullet-style KPI charts.Other plugins' skills for the same job