Scan your whole stack
From OX Research Newsroom
Are you using @cube-dev/ui-kit?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.0.0-canary-9c80c70
@cube-dev/ui-kit was last scanned on 26 Nov 2026 at version 0.0.0-canary-9c80c70. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.0.0-canary-9c80c70 LATEST | 26 Nov 2026 | No rules fired |
| 0.0.0-canary-ca4132e | 26 Nov 2026 | Not shown |
| 0.0.0-canary-f5b2ad7 | 26 Nov 2026 | Not shown |
| 0.0.0-canary-e60888c | 26 Nov 2026 | Not shown |
| 0.0.0-canary-9a6d6a2 | 26 Nov 2026 | Not shown |
Findings for v0.0.0-canary-9c80c70. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.0.0-canary-9c80c70; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
An open-source React component library that powers Cube Cloud and other Cube Dev products. While built for Cube's own interfaces, it is a general-purpose kit you can use freely in any application where it fits your needs.
pnpm add @cube-dev/ui-kit
Peer dependencies:
pnpm add react react-dom
React and React DOM 19.3 or newer are required (React 19). Upgrade both together before adopting this release. UI Kit ships compiled output using the native React compiler runtime; applications do not need to enable React Compiler.
Wrap your application with Root to initialize the design system:
import { Root, Button, TextInput, Space } from '@cube-dev/ui-kit';
function App() {
return (
<Root>
<Space flow="column" gap="2x" padding="4x">
<TextInput label="Name" placeholder="Enter your name" />
<Button type="primary" onPress={() => console.log('clicked')}>
Submit
</Button>
</Space>
</Root>
);
}
To ship your own brand color, tune the palette seeds — every token, in every scheme, re-resolves from them:
<Root palette={{ hue: 210, saturation: 72, themes: { danger: { hue: 12 } } }}>
<App />
</Root>
setPaletteConfig() does the same thing imperatively, from anywhere. It replaces rather than accumulates, like useState — pass an updater to change one field:
setPaletteConfig((config) => ({ ...config, hue: 235 }));
| Category | Components |
|---|---|
| Layout | Flex, Grid, Space, Flow, Panel, ResizablePanel, Prefix, Suffix |
| Actions | Button, Button.Group, Button.Split, Link, Menu, CommandMenu |
| Content | Text, Title, Paragraph, Card, Badge, Tag, Avatar, Alert, Skeleton, Placeholder, Disclosure, Divider, CopySnippet, PrismCode |
| Fields | TextInput, NumberInput, PasswordInput, SearchInput, TextArea, Select, ComboBox, Checkbox, RadioGroup, Switch, Slider, DatePicker, FileInput, ListBox, FilterListBox, FilterPicker, Picker, TagInput |
| Form | Form, FieldWrapper, SubmitButton, ResetButton |
| Overlays | Dialog, AlertDialog, Modal, Tooltip, Toast, Notifications |
| Navigation | Tabs, FileTabs |
| Status | Spin, LoadingAnimation |
Browse all components with live examples in the Storybook.
The package ships the same docs as plain Markdown, for people and coding agents: node_modules/@cube-dev/ui-kit/docs/llms.txt lists every page, such as docs/components/actions/Button.md. In a project that uses harnesspm, agents get that index, UI Kit's rule and tools, and the harnesses of Tasty and Glaze.
Cube UI Kit uses Tasty — a styling engine that generates conflict-free CSS using mutually exclusive selectors.
Create custom styled components:
import { tasty } from '@cube-dev/ui-kit';
const Card = tasty({
styles: {
display: 'flex',
flow: 'column',
padding: '4x',
gap: '2x',
fill: '#surface',
border: '#border',
radius: '1r',
Title: { preset: 'h3', color: '#primary' },
Content: { preset: 't2', color: '#text' },
},
elements: { Title: 'h2', Content: 'div' },
});
Style properties support state-driven values:
const StatusBadge = tasty({
styles: {
padding: '1x 2x',
radius: 'round',
fill: {
'': '#surface',
'type=success': '#success-bg',
'type=error': '#danger-bg',
},
},
});
.nvmrc)pnpm storybook # Start Storybook dev server on port 6060
pnpm build # Build the library (tsdown, unbundled ESM)
pnpm test # Run all tests (Vitest)
pnpm test Button # Run test files whose path contains "Button"
pnpm fix # Lint and format (Oxlint + Prettier)
pnpm size # Measure the bundle and check its dependencies
pnpm chromatic # Run visual regression tests
Local agent reviews follow the UI Kit review rules, including Entropy review. Use $ui-review in Codex or /ui-review in Claude for a full review, and $entropy-review or /entropy-review respectively for a focused complexity assessment. $implement or /implement takes a task from its Linear issue to a merged PR with these reviews as its review rounds; agents also use it when asked to implement a task end to end.
src/
├── components/
│ ├── actions/ # Button, Link, Menu, CommandMenu, ...
│ ├── content/ # Card, Badge, Tag, Alert, Skeleton, ...
│ ├── fields/ # TextInput, Select, ComboBox, ...
│ ├── form/ # Form, FieldWrapper, SubmitButton, ...
│ ├── layout/ # Flex, Grid, Space, Flow, Panel, ...
│ ├── navigation/ # Tabs
│ ├── organisms/ # FileTabs, StatsCard
│ ├── overlays/ # Dialog, Tooltip, Toast, ...
│ └── status/ # Spin, LoadingAnimation
├── icons/ # 130+ icon components (Tabler-based + custom)
├── stories/ # Storybook guides and documentation
├── tasty/ # Tasty integration utilities
├── tokens/ # Design tokens
└── index.ts # Public API barrel export
docs/
└── tasty/ # Tasty styling engine documentation
Each component follows a standard file layout:
ComponentName/
├── ComponentName.tsx # Implementation
├── ComponentName.stories.tsx # Storybook stories
├── ComponentName.docs.mdx # Documentation
├── ComponentName.test.tsx # Tests
└── index.tsx # Re-exports
See CONTRIBUTING.md for commit conventions, branch naming, PR workflow, and changeset instructions.
MIT — Cube Dev, Inc.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.