
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@ios26_design_system/svelte
Advanced tools
iOS 26 design system for Svelte 5 — Liquid Glass components, tokens, typography
Design tokens, typography, materials, and component patterns extracted from the Apple iOS & iPadOS 26 Figma Community Kit, adapted for pure Svelte 5 (runes mode).
| File | Purpose |
|---|---|
tokens.css | CSS custom properties for colors, typography, spacing, materials |
typography.css | 11 text style classes with emphasized, italic, and loose modifiers |
materials.css | Liquid Glass effects and background material blur classes |
components.svelte.md | Component mapping guide with Svelte 5 $props() signatures |
In your root layout or app.css:
@import './path-to/tokens.css';
@import './path-to/typography.css';
@import './path-to/materials.css';
Or in +layout.svelte:
<script>
import './path-to/tokens.css';
import './path-to/typography.css';
import './path-to/materials.css';
</script>
@sveltejs/adapter-static for Tauri integration<script>
let count = $state(0);
</script>
<div class="screen">
<header class="toolbar liquid-glass-large">
<h1 class="text-headline">Settings</h1>
</header>
<main class="content">
<section class="card">
<h2 class="text-title3 emphasized">Account</h2>
<p class="text-body text-secondary">Manage your profile and preferences.</p>
</section>
<button
class="action-button"
onclick={() => count++}
>
Tapped {count} times
</button>
</main>
</div>
<style>
.screen {
min-height: 100vh;
background-color: var(--bg-grouped-primary);
color: var(--label-primary);
font-family: var(--font-family);
}
.toolbar {
display: flex;
align-items: center;
justify-content: center;
height: var(--toolbar-height);
padding: 0 var(--space-4);
}
.content {
padding: var(--space-4);
display: flex;
flex-direction: column;
gap: var(--space-4);
}
.card {
background-color: var(--bg-grouped-secondary);
border-radius: 10px;
padding: var(--space-4);
display: flex;
flex-direction: column;
gap: var(--space-2);
}
.action-button {
background-color: var(--color-blue);
color: var(--white);
border: none;
border-radius: 10px;
padding: var(--space-3) var(--space-5);
font-size: var(--text-body);
line-height: var(--lh-body);
font-weight: var(--weight-semibold);
cursor: pointer;
transition: opacity 0.15s ease;
}
.action-button:active {
opacity: 0.7;
}
</style>
<div class="list">
<div class="list-header text-footnote text-secondary">GENERAL</div>
<div class="list-group">
<div class="list-row">
<span class="text-body">Notifications</span>
<span class="text-body text-secondary">On</span>
</div>
<div class="list-separator"></div>
<div class="list-row">
<span class="text-body">Sounds</span>
<span class="text-body text-secondary">Default</span>
</div>
</div>
</div>
<style>
.list {
padding: 0 var(--space-4);
}
.list-header {
padding: var(--space-2) var(--space-4) var(--space-1);
text-transform: uppercase;
}
.list-group {
background-color: var(--bg-grouped-secondary);
border-radius: 10px;
overflow: hidden;
}
.list-row {
display: flex;
justify-content: space-between;
align-items: center;
min-height: var(--list-row-height);
padding: 0 var(--space-4);
}
.list-separator {
height: var(--separator-height);
background-color: var(--separator-opaque);
margin-left: var(--space-4);
}
</style>
<nav class="bottom-bar liquid-glass-large">
<button class="bar-item active">
<span>Home</span>
</button>
<button class="bar-item">
<span>Search</span>
</button>
<button class="bar-item">
<span>Profile</span>
</button>
</nav>
<style>
.bottom-bar {
position: fixed;
bottom: var(--space-6);
left: 50%;
transform: translateX(-50%);
display: flex;
gap: var(--space-6);
padding: var(--space-3) var(--space-6);
}
.bar-item {
background: none;
border: none;
color: var(--label-secondary);
font-size: var(--text-caption2);
cursor: pointer;
}
.bar-item.active {
color: var(--color-blue);
}
</style>
Dark mode works automatically via @media (prefers-color-scheme: dark) overrides defined in tokens.css. All CSS variables update without any JavaScript. Components using these variables will adapt seamlessly.
To test dark mode in development, toggle your OS appearance or use browser DevTools to emulate prefers-color-scheme: dark.
| Category | Variables | Count |
|---|---|---|
| System Colors | --color-red through --color-brown | 12 |
| Labels | --label-primary through --label-quaternary | 4 |
| Backgrounds | --bg-primary, --bg-grouped-* | 6 |
| Fills | --fill-primary through --fill-quaternary | 4 |
| Grays | --black, --gray through --gray-6, --white | 8 |
| Typography sizes | --text-large-title through --text-caption2 | 11 |
| Spacing | --space-0 through --space-16 | 12 |
| Materials | --blur-*, --glass-* | 20+ |
FAQs
iOS 26 design system for Svelte 5 — Liquid Glass components, tokens, typography
The npm package @ios26_design_system/svelte receives a total of 1 weekly downloads. As such, @ios26_design_system/svelte popularity was classified as not popular.
We found that @ios26_design_system/svelte 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.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.