
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
Modern, accessible UI component library for KALXJS applications.
✨ 10+ Ready-to-Use Components - Button, Input, Modal, Card, Alert, Badge, Tooltip, Dropdown, Tabs, and more
🎨 Complete Design System - Colors, typography, spacing, and shadows with light/dark mode
♿ Accessible by Default - WCAG 2.1 Level AA compliant, keyboard navigation, ARIA attributes
🌙 Dark Mode Support - Built-in theme system with easy mode switching
📱 Responsive - Mobile-first design with breakpoint utilities
🎯 TypeScript Ready - Full type definitions (coming soon)
⚡ Tree-Shakeable - Import only what you need
🎭 Customizable - Override styles and extend components easily
npm install @kalxjs/ui @kalxjs/core @kalxjs/a11y
import { createApp } from '@kalxjs/core';
import KalxjsUI from '@kalxjs/ui';
import '@kalxjs/ui/styles.css'; // Optional: if using pre-compiled CSS
const app = createApp(App);
// Install with default theme
app.use(KalxjsUI);
// Or install with custom theme
app.use(KalxjsUI, {
theme: {
mode: 'dark',
colors: {
primary: {
500: '#your-color',
},
},
},
});
app.mount('#app');
import { Button, Input, Modal, Card } from '@kalxjs/ui';
export default {
template: `
<div>
<Button variant="primary" @click="handleClick">
Click Me
</Button>
<Input
v-model="email"
type="email"
label="Email"
placeholder="Enter your email"
/>
<Modal v-model="showModal" title="Hello World">
<p>This is a modal</p>
</Modal>
<Card>
<template #header>
<h3>Card Title</h3>
</template>
<p>Card content goes here</p>
</Card>
</div>
`,
};
Versatile button component with multiple variants and sizes.
<Button variant="primary" size="lg" @click="handleClick">
Primary Button
</Button>
<Button variant="outline" loading>
Loading...
</Button>
<Button variant="danger" disabled>
Disabled
</Button>
Props:
variant: 'primary' | 'secondary' | 'success' | 'danger' | 'outline' | 'ghost' | 'link'size: 'xs' | 'sm' | 'md' | 'lg' | 'xl'disabled: booleanloading: booleanfullWidth: booleanForm input with validation and helper text.
<Input
v-model="username"
label="Username"
placeholder="Enter username"
hint="Choose a unique username"
error="Username is required"
required
clearable
/>
Props:
type: 'text' | 'password' | 'email' | 'number' | ...label: stringplaceholder: stringerror: stringhint: stringdisabled: booleanclearable: booleanshowPasswordToggle: boolean (for password inputs)Accessible modal dialog with focus trap.
<Modal
v-model="isOpen"
title="Confirm Action"
size="md"
@close="handleClose"
>
<p>Are you sure you want to continue?</p>
<template #footer>
<Button @click="isOpen = false">Cancel</Button>
<Button variant="primary" @click="confirm">Confirm</Button>
</template>
</Modal>
Props:
modelValue: booleantitle: stringsize: 'sm' | 'md' | 'lg' | 'xl'closeOnOverlay: booleancloseOnEsc: booleanContainer component with elevation.
<Card variant="elevated" hoverable>
<template #header>
<h3>Card Title</h3>
</template>
<p>Card content</p>
<template #footer>
<Button>Action</Button>
</template>
</Card>
Feedback messages for users.
<Alert variant="success" title="Success!" closable>
Your changes have been saved.
</Alert>
<Alert variant="danger">
An error occurred. Please try again.
</Alert>
import { useTheme } from '@kalxjs/ui';
export default {
setup() {
const { theme, toggleMode, isDark } = useTheme();
return {
theme,
toggleMode,
isDark,
};
},
};
import { createTheme, applyTheme } from '@kalxjs/ui';
const customTheme = createTheme({
mode: 'dark',
colors: {
primary: '#your-color',
},
});
applyTheme(customTheme);
import { useMediaQuery, useIsMobile, usePrefersDark } from '@kalxjs/ui';
const isMobile = useIsMobile();
const prefersDark = usePrefersDark();
const isLarge = useMediaQuery('(min-width: 1200px)');
All components are built with accessibility in mind:
MIT
Contributions are welcome! Please read our contributing guide.
FAQs
Modern UI component library for KALXJS
We found that @kalxjs/ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.