Scan your whole stack
From OX Research Newsroom
Are you using @14ch/svelte-ui?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.0.90
@14ch/svelte-ui was last scanned on 24 Nov 2026 at version 0.0.90. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.0.90 LATEST | 24 Nov 2026 | No rules fired |
| 0.0.89 | 21 Nov 2026 | No rules fired |
| 0.0.88 | 20 Nov 2026 | No rules fired |
| 0.0.87 | 18 Nov 2026 | Not shown |
| 0.0.86 | 15 Nov 2026 | Not shown |
Findings for v0.0.90. 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.90; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
A Svelte component library with TypeScript support and Material Design-inspired styling.
⚠️ Preview Release: This library is in preview. APIs may change before the stable 1.0 release.
npm install @14ch/svelte-ui
# or
pnpm install @14ch/svelte-ui
# or
yarn add @14ch/svelte-ui
Components read their colors and sizes from --svelte-ui-* CSS variables, so the design tokens must be loaded.
For an app, import everything (recommended):
// Icon fonts + design tokens + app-wide base rules
import '@14ch/svelte-ui/styles';
For a package that embeds svelte-ui components into other apps, import only what the components need, so nothing leaks into the host page:
// Design tokens only: CSS variables on :where(:root) and the dark/high-contrast switches.
// No external requests, no rules on elements.
import '@14ch/svelte-ui/styles/tokens';
// Material Symbols fonts (loaded from Google Fonts).
// Needed only when components render an icon: Icon, IconButton, Fab, the `icon` props,
// and built-in icons such as clear buttons, popup arrows, pickers and PopupMenu check marks.
import '@14ch/svelte-ui/styles/icons';
Components render the same with styles/tokens alone as with the full styles. The full import additionally applies these base rules to the whole page: box-sizing: border-box on every element, a reset for button, color: inherit for dialog, font-weight: normal for label, the autofill background fix for input, and the .sr-only class.
Optional extras (Sass sources; your build needs sass):
import '@14ch/svelte-ui/styles/optional/fonts.scss'; // Roboto, Noto Sans JP, YakuHanJP
import '@14ch/svelte-ui/styles/optional/reset.scss'; // CSS reset
<script>
import { Button, Input, Dialog } from '@14ch/svelte-ui';
let dialogRef;
let inputValue = $state('');
</script>
<Input bind:value={inputValue} placeholder="Enter your name" />
<Button onclick={() => dialogRef.open()}>Open Dialog</Button>
<Dialog bind:this={dialogRef} title="Greeting">
<p>Hello {inputValue}!</p>
<p>Welcome to Svelte UI Component Library.</p>
{#snippet footer()}
<Button onclick={() => dialogRef.close()}>Close</Button>
{/snippet}
</Dialog>
Button - Various button styles and statesInput - Text input with validation supportTextarea - Multi-line text inputCheckbox - Checkbox with custom stylingCheckboxGroup - Multiple checkbox selection groupRadio - Radio button groupsRadioGroup - Radio button group wrapperSelect - Dropdown selectionCombobox - Searchable dropdownSlider - Range slider inputSwitch - Toggle switchColorPicker - Color selection inputDatepicker - Date selection with calendarFileUploader - File upload with drag & dropImageUploader - Image upload with previewTab / TabItem - Tab navigationPagination - Page navigationDialog - Modal dialogsConfirmDialog - Confirmation dialogsDrawer - Side drawerPopup - Popover contentPopupMenu / PopupMenuButton - Context menusTooltip - Short description shown on hover and keyboard focusSnackbar / SnackbarItem - Toast notificationsLoadingSpinner - Loading indicatorsSkeleton - Loading placeholders with preset patternsIcon - Material Symbols iconsIconButton - Icon-based buttonsFab - Floating Action Button<script>
import { Button } from '@14ch/svelte-ui';
</script>
<!-- Different variants -->
<Button variant="filled">Filled Button</Button>
<Button variant="outlined">Outlined Button</Button>
<Button variant="text">Text Button</Button>
<!-- With icons -->
<Button icon="add">Add Item</Button>
<!-- Different sizes -->
<Button size="small">Small</Button>
<Button size="medium">Medium</Button>
<Button size="large">Large</Button>
<!-- States -->
<Button disabled>Disabled</Button>
<Button loading>Loading...</Button>
<script>
import { Input, Checkbox, Button } from '@14ch/svelte-ui';
let email = $state('');
let password = $state('');
let agreed = $state(false);
const handleSubmit = () => {
if (!email || !password || !agreed) {
alert('Please fill all fields');
return;
}
// Handle form submission
};
</script>
<Input bind:value={email} type="email" placeholder="Email" required />
<Input bind:value={password} type="password" placeholder="Password" required />
<Checkbox bind:value={agreed}>I agree to the terms and conditions</Checkbox>
<Button onclick={handleSubmit} disabled={!agreed}>Sign Up</Button>
<script>
import { CheckboxGroup, RadioGroup } from '@14ch/svelte-ui';
const options = [
{ label: 'Option 1', value: 'opt1' },
{ label: 'Option 2', value: 'opt2' },
{ label: 'Option 3', value: 'opt3' }
];
let selectedCheckboxes = $state([]);
let selectedRadio = $state(null);
</script>
<CheckboxGroup bind:value={selectedCheckboxes} {options} direction="vertical" gap="16px" />
<RadioGroup bind:value={selectedRadio} {options} direction="horizontal" gap="24px" />
<script>
import { Skeleton, SkeletonBox, SkeletonText, SkeletonAvatar } from '@14ch/svelte-ui';
</script>
<!-- Using preset patterns -->
<Skeleton patterns={[{ type: 'article-list' }]} repeat={3} />
<Skeleton patterns={[{ type: 'product-list' }]} repeat={4} />
<!-- Using individual components for custom layouts -->
<div>
<SkeletonAvatar showName={true} />
<SkeletonBox width="100%" height="200px" />
<SkeletonText lines={3} />
</div>
<script>
import { Button, ConfirmDialog } from '@14ch/svelte-ui';
let confirmDialogRef;
const handleDelete = () => {
confirmDialogRef.open();
};
const onConfirm = () => {
// Delete logic here
console.log('Item deleted');
confirmDialogRef.close();
};
</script>
<Button variant="outlined" onclick={handleDelete}>Delete Item</Button>
<ConfirmDialog
bind:this={confirmDialogRef}
title="Confirm Delete"
message="Are you sure you want to delete this item? This action cannot be undone."
onconfirm={onConfirm}
oncancel={() => confirmDialogRef.close()}
/>
Apply dark mode by setting the data-theme attribute:
<script>
import { Button } from '@14ch/svelte-ui';
import { onMount } from 'svelte';
let theme = $state('light');
const toggleTheme = () => {
theme = theme === 'light' ? 'dark' : 'light';
document.body.setAttribute('data-theme', theme);
};
onMount(() => {
document.body.setAttribute('data-theme', theme);
});
</script>
<Button onclick={toggleTheme}>Toggle Theme</Button>
You can also apply dark mode to specific sections:
<div data-theme="dark">
<!-- This section and its children will use dark mode -->
<Button>Dark Mode Button</Button>
</div>
The library uses CSS custom properties for easy theming:
:root {
--svelte-ui-primary-color: #1976d2;
--svelte-ui-surface-color: #ffffff;
--svelte-ui-text-color: #1f1f1f;
--svelte-ui-border-radius: 8px;
/* ... and many more */
}
You can customize dark mode colors by overriding CSS variables:
[data-theme='dark'] {
--svelte-ui-primary-color: #90caf9;
--svelte-ui-surface-color: #121212;
--svelte-ui-text-color: #ffffff;
/* ... customize other colors as needed */
}
All components come with full TypeScript definitions:
import type { MenuItem } from '@14ch/svelte-ui';
const menuItems: MenuItem[] = [
{ title: 'Home', href: '/' },
{ title: 'About', href: '/about' },
{ title: 'Contact', href: '/contact' }
];
This library is built with accessibility in mind:
MIT License - see the LICENSE file for details.
variant prop with inline prop in Combobox, Datepicker, and Select componentstext-box-trim(Previous release notes...)
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.