
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Semantic component library for Svelte 5 with accessible, themeable components and integrated CSS framework
Semantic component library for Svelte 5 with accessible, themeable components and integrated CSS framework
This library is currently in early development. The API may change frequently until v1.0.
# pnpm (recommended)
pnpm add indium-ui
# npm
npm install indium-ui
# yarn
yarn add indium-ui
<script>
import { Button } from 'indium-ui';
import 'indium-ui/styles';
</script>
<Button variant="primary" size="md">
Click me
</Button>
Initialize the theme in your root layout:
<!-- +layout.svelte -->
<script>
import { initTheme } from 'indium-ui/theme';
import 'indium-ui/styles';
// Initialize theme on mount
$effect(() => {
initTheme();
});
</script>
<slot />
More components coming soon...
import { applyTheme } from 'indium-ui/theme';
applyTheme({
'color-action-primary': '#ff6b6b',
'color-action-primary-hover': '#ff5252',
'radius-md': '0.75rem',
});
import { setThemeMode, getThemeMode, toggleTheme } from 'indium-ui/theme';
// Set theme mode
setThemeMode('dark'); // Force dark mode
setThemeMode('light'); // Force light mode
setThemeMode('auto'); // Follow system preference
// Toggle between light and dark
toggleTheme();
// Get current mode
const mode = getThemeMode(); // 'light' | 'dark' | 'auto'
# Install dependencies
pnpm install
# Start dev server
pnpm dev
# Run Storybook
pnpm storybook
# Run tests
pnpm test
pnpm test:unit
pnpm test:e2e
# Build library
pnpm build
# Check types
pnpm check
# Lint
pnpm lint
This project uses a simple, CHANGELOG-driven release process:
Update CHANGELOG.md with the new version and changes:
## [0.2.0] - 2025-01-16
### Added
- New Input component
### Fixed
- Button focus styles
Run the release command:
pnpm release
This will automatically:
Prerequisites:
npm login)src/
├── lib/
│ ├── components/
│ │ ├── atoms/ # Basic components (Button, Input, etc.)
│ │ ├── molecules/ # Composite components (Card, Alert, etc.)
│ │ └── organisms/ # Complex components (Modal, Header, etc.)
│ ├── config/
│ │ ├── types.ts # Type definitions
│ │ ├── defaults.ts # Default configuration
│ │ ├── config-loader.ts # Configuration loading
│ │ ├── render-helpers.ts # CSS generation helpers
│ │ └── postcss-plugin.ts # PostCSS theme plugin
│ ├── styles/
│ │ ├── reset.css # CSS reset
│ │ ├── components/ # Component styles
│ │ └── index.css # Main bundle
│ └── utils/
│ ├── theme.ts # Theme utilities
│ ├── a11y.ts # Accessibility helpers
│ └── types.ts # Shared TypeScript types
This project is currently in early development. Contributions will be welcome once we reach v1.0.
For more information, see our Contributing Guide.
MIT © Mirko Schubert
See LICENSE for details.
FAQs
Semantic component library for Svelte 5 with accessible, themeable components and integrated CSS framework
We found that indium-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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.