
Company News
Socket Named to Rising in Cyber 2026 List of Top Cybersecurity Startups
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.
@cube-dev/ui-kit
Advanced tools
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 18 and 19 are both supported.
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>
);
}
| 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 |
| 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.
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',
},
},
});
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 tests matching "Button"
pnpm fix # Lint and format (ESLint + Prettier)
pnpm size # Check bundle size limits
pnpm chromatic # Run visual regression tests
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.
FAQs
UIKit for Cube Projects
The npm package @cube-dev/ui-kit receives a total of 3,564 weekly downloads. As such, @cube-dev/ui-kit popularity was classified as popular.
We found that @cube-dev/ui-kit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.ย It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.

Research
Socket detected 84 compromised TanStack npm package artifacts modified with suspected CI credential-stealing malware.

Security News
A dispute over fsnotify maintainer access set off supply chain alarms around one of Goโs most widely used filesystem libraries.