/kx-dashboards-knowledge:kx-buttonfrom kx-dashboards-knowledge
Generates KX Dashboards button widget config: labels, icons, tooltips, alignment, fixed width, disabled state, colors, and click actions.
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.
Also read kx-dashboard-core for: envelope, screen/widget wrapper, data sources, ViewState, binding patterns, actions, notifications, deployment, and the pre-flight checklist.
key: "BasicComponents" · definitionId: "25" · version: "v2.9.0"
This skill uses progressive disclosure: the workflow, hazards, and output rules are here; the bulky JSON schema, config tables, worked examples, and test queries live in reference/. Read only the reference file relevant to your current step.
| File | Read it when you need… |
|---|---|
| reference/generate-config.md | generate.js componentType: "button" config — Quick Start, minimal config, and the makeButtonWidget config-key table. |
| reference/component-schema.md | The raw component JSON — full options envelope (Basics, Style, Actions, Alignment, format) plus the per-property Config Keys table. |
| reference/mapping.md | Turning a natural-language request into properties — NL→JSON rules, named-colour hexes, and the icon-prefix rules. |
| reference/examples.md | Six worked NLQ → JSON examples (minimal, styled, query, nav, fixed-width disabled, multi-action). |
| reference/nlq-tests.md | Maintainer NLQ regression queries to retest on every MR that changes this skill. |
key is always "BasicComponents", not "Button". definitionId: "25" differentiates it from Dropdown (16), DatePicker (15), TextInput (33), and SelectionControls (34).Style.background triggers a 3-stop gradient — passing "#0061FF" causes the component to auto-compute darker gradient shades. Omit it ("") to use the default theme button appearance.Basics.Icon requires the full class prefix. FontAwesome: "fa fa-play". Material: "mi mi-refresh". Passing just "fa-play" or "refresh" silently drops the icon — no error is shown.Basics.fixedWidth: true requires a numeric Basics.width. Without width, the button falls back to 100% of its container. width is in pixels.Basics.isEnabled: false disables the button visually and functionally. Map this to a ViewState binding if you need runtime toggle.Actions fires on button click and must be a top-level array inside options, not inside Basics.Actions list (see kx-dashboard-core).key: "BasicComponents", definitionId: "25", version: "v2.9.0") in reference/component-schema.md.Basics. Map label, font size, alignment, fixed width, and enabled state using the Config Keys table and NL→JSON rules in reference/mapping.md."fa fa-" / "mi mi-") and named-colour hexes in reference/mapping.md.Actions. Add map / query / nav click actions per reference/mapping.md; keep any navigation action last.componentType: "button" and the config keys in reference/generate-config.md.reference/examples.md when a pattern matches.Before returning any Button JSON:
key is "BasicComponents" and definitionId is "25"options.version is "v2.9.0"Basics.ComponentName is "Button" — never omit this, the component will not render without itBasics.Label is a non-empty stringBasics.horizontal is "Left", "Center", or "Right"Basics.vertical is "Top", "Middle", or "Bottom"Basics.Icon uses the full double-prefix form ("fa fa-..." / "mi mi-...") or ""Basics.fixedWidth: true is always paired with a numeric Basics.widthStyle.background, Style.color, Style.border are hex strings or "" (never null)Actions is an array (never omitted or null)Actions arrayAlignment and format blocks are present and completeid = hash = filename stem (enforced by generateDashboard)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
32 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-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./kx-chartglUse this when the user wants a KX Dashboards ChartGL chart or chart layer: line, bar, bubble, waterfall, candlestick, multi-axis, streaming, or other WebGL-accelerated visualisations. Use kx-heatmap for standalone heatmap components; read kx-dashboard-core first for the dashboard envelope, data sources, ViewState, and checklist.npx claudepluginhub kxsystems/kx-skills --plugin kx-dashboards-knowledgeOther plugins' skills for the same job