r/sveltejs • • 11h ago

I think Rich Harris is one of the great communicators in tech at the moment

78 Upvotes

I've always admired how Rich is able to lead the Svelte project and how good his update videos are. To me, he's one of the greatest communicators in tech at the moment, and I think we're lucky to have him in this community.

I think he's able to be very clear and interesting to watch (or read), even when discussing technical topics way beyond my understanding.

After his last Svelte Summit talk I tried to put into words what I think makes him so good at it. I wrote a post on my website but I think the main aspect is that he has clear opinions on the world and is able to express those opinions in simple terms while telling a coherent story.

Here's the full article for those interested: https://luisgabriel.online/posts/rich-harris-communication-skills

I would love to learn about other communicators you admire, and hear whether you agree with the points I made about Rich Harris.


r/sveltejs • • 4h ago

[self-promo] svelte-sheet: a tiny spreadsheet for Svelte 5, with formulas, undo and files

Post image
12 Upvotes

A couple of days ago I posted about svelte-draw. Today I want to share another library I pulled out of an app I'm building: svelte-sheet, a tiny spreadsheet for Svelte 5.

Good sheet libraries exist, like Univer, Handsontable and Jspreadsheet, but none of them ships a Svelte component. The Svelte data grids I found (RevoGrid, SvGrid) keep their formula engine in a paid edition. So I built one myself, on the same architecture as svelte-draw:

  • a core in plain TypeScript that knows no framework,
  • and a thin Svelte part on top.

You get the grid and the logic, and build the toolbar in your own design, or adapt the demo's.

A sheet holds up to 100,000 rows by 702 columns. I tested it with two million cells (100,000 rows by 20 columns): in Node they load into the engine in about 2 seconds and take about 740 MB of memory, and typing into a cell then takes 3 ms. Changing every cell at once, like making the whole sheet bold, takes multiple seconds (about 5 for 660,000 cells). In Chrome, a 4 MB CSV with 33,000 rows opens in 2.3 seconds, and typing into a cell stays instant (about 30 ms).

Demo: https://docs.klementine.net/svelte-sheet/demo/

Code: https://github.com/klementine-net/svelte-sheet

Docs: https://docs.klementine.net/svelte-sheet/

Disclaimer: like svelte-draw, this is early development and still needs some polishing.


r/sveltejs • • 1h ago

All Svelte Summit 2026 talks are now available on YouTube!

Thumbnail
youtube.com
5 Upvotes

r/sveltejs • • 10h ago

[self-promo] I made Phials - Combining the best of file management, knowledge work, and productivity tools.

Post image
4 Upvotes

Hi everyone!

I've been building Phials for the better part of 5 years. As a huge nerd about productivity software, I've used the likes of Obsidian and Notion for a long time, some of my top posts on Reddit are from those communities (Notion, Obsidian). Whether it was Obsidian's lack of proper database features, or Notions cloud reliance and increasing focus on AI, I've always had my issues with them. Tack onto that a general dissatisfaction with native file managers, and I was spurred on to create Phials.

The tech stack has changed and evolved throughout development, from Electron, to Tauri, to the current iteration using a custom GPUI implementation. What always remained the same though was Svelte being the UI framework.

Phials is built with a bespoke UI library, Phoundry UI, built specifically for Phials. It is a general purpose library, open-source, and available to use. However I do warn that it is heavily opinionated and won't be for everyone.

Phials is completely free for local use without an account, with an optional remote access subscription that lets Phials seamlessly connect to any other computer running Phials.

AI disclosure: Coding agents were used to assist in the development, but I've been a software developer for over a decade, and this project started before AI coding was even a thing. I care deeply about the craft, the product, and the industry.

This is a Beta release, so I'd love any and all feedback!

Website: https://phials.phoundry.app/


r/sveltejs • • 22h ago

Svelte and oxc | Yuichiro Yamashita | Svelte Summit 2026

Thumbnail
youtube.com
21 Upvotes

r/sveltejs • • 7h ago

[self-promo] yaxa-svelte - a Nuxt UI v4-inspired Svelte 5 component library

Thumbnail
gallery
1 Upvotes

For the past few months I've been building Yaxa (yaxa-svelte), a Svelte 5 UI library built on Bits UI v2 and Tailwind CSS v4.

Repo: https://github.com/FuntionalFrost/yaxa

A few design choices I focused on:

1. App-wide ui slot theming (tailwind-variants + tailwind-merge) All 112 visual components use Svelte 5 runes ($state, $derived, $props, {#snippet}), expose data-slot="..." markers, and accept typed ui slot overrides—configurable globally via <YaxaApp ui={...}>:

<script>
  import { YaxaApp, Button, defineYaxaUi } from 'yaxa-svelte';

  const uiDefaults = defineYaxaUi({
    button: { root: 'rounded-full font-semibold' },
    card: { root: 'rounded-2xl' }
  });
</script>

<YaxaApp ui={uiDefaults}>
  <Button ui={{ root: 'px-8' }}>Overrides cleanly</Button>
</YaxaApp>

2. Strict Subpath Isolation Root yaxa-svelte and yaxa-svelte/server enforce zero optional peer dependencies in CI tests. Optional integrations live strictly in dedicated subpaths (yaxa-svelte/seo, yaxa-svelte/auth, yaxa-svelte/admin, yaxa-svelte/db, yaxa-svelte/polar, yaxa-svelte/email, yaxa-svelte/storage).

3. Accessibility & Real-Browser Testing Beyond unit axe-core tests, the docs and showcase routes run against real CSS in Playwright (@axe-core/playwright) in both light and dark modes for WCAG 2 AA contrast, focus traps, and 375x812 mobile overflow.

Would appreciate feedback from anyone using Svelte 5 / Bits UI in production — especially on API ergonomics, slot naming, or SSR edge cases.


r/sveltejs • • 1d ago

Lessons from running a SvelteKit 3 static build inside a mobile app's WebView

3 Upvotes

I maintain Valence, an open-source project that runs a web app as the UI of a Flutter mobile app and ships UI updates as signed bundles, so there's no store release. SvelteKit is one of the main supported stacks. This week I had an AI agent build a SvelteKit app from my docs alone, and it hit three things worth sharing with anyone doing static SvelteKit builds in a WebView, Capacitor or similar.

1. SvelteKit 3 config lives in vite.config.ts now In SvelteKit 3, the kit options go in sveltekit({...}) in vite.config.ts; per the types, svelte.config.js is no longer read for them. My docs and my setup wizard only looked at svelte.config.js, so they told people to set options in a file SvelteKit ignores. If you maintain tooling or docs that read SvelteKit config, check both places.

2. Asset paths: think "origin root", not "base path" Inside the app, every route is served the same index.html (SPA fallback) from a local server. If your build references assets relatively, then a reload or a back gesture on a nested route like /notes/42 resolves them against the wrong folder, and you get a blank white screen with nothing in the console. What works:

// vite.config.ts
sveltekit({
  adapter: adapter({ fallback: 'index.html' }),
  paths: { base: '', relative: false },
})

with export const ssr = false in the root +layout.ts. You also need client routes that match deep links; a fallback page doesn't make /notes/[id] exist by itself.

3. onMount with async loses your cleanup

onMount(async () => {
  const unsub = await subscribe();
  return () => unsub(); // never called: onMount got a Promise, not a function
});

onMount only runs a cleanup function returned synchronously. Start the async work inside, and return the cleanup right away:

onMount(() => {
  let unsub: (() => void) | undefined;
  let gone = false;
  subscribe().then((u) => (gone ? u() : (unsub = u)));
  return () => { gone = true; unsub?.(); };
});

In a long-lived WebView that never reloads, a leaked subscription adds up.

All three are fixed in the docs and in the wizard in Valence 0.5.0-beta.1.

If you want to try SvelteKit as a mobile UI: npm create valence@latest (Android supported; iOS experimental and untested). Docs: https://getvalence.dev/docs/guides/web-app/ Code (MIT): https://github.com/valence-dev/valence

Has anyone run into other gotchas with SvelteKit in a WebView or Capacitor? I'd like to cover them in the docs.


r/sveltejs • • 2d ago

Is Sveltekit v3 failing on you, people with an app.html file renamed using appTemplate option?

2 Upvotes

This is happening to me. I already knew sveltekit sync had an issue, but this never prevented building. Now I'm upgrading `@svelte-router/core` to Sveltekit v3 and the project doesn't build because I renamed app.html.

Anyway, tips appreciated. Thanks!

UPDATE

Nevermind. Found the issue. The thing is that the newest Sveltepress for Sveltekit v3 creates its own Sveltekit plug-in, so adding the Svelte plug-in oneself is a mistake because then there are two: One configured with the appTemplate setting, and one with the default value. This is what causes the error. The solution is to configure the Sveltekit plug-in via the Sveltepress plug-in and of course, not add oneself the extra sveltekit() plug-in.


r/sveltejs • • 2d ago

I made a debug dashboard for SvelteKit, like Laravel Telescope (Open Source, MIT)

Post image
25 Upvotes

Laravel has Telescope, and I wanted something like it while working in SvelteKit.

sveltelens adds a dashboard at /__sveltelens on your dev server. Click a request or form action and the queries, outgoing calls, logs and errors behind it are right there. Your coding agent can read the same data over MCP.

Code and setup: https://github.com/mmdjamali/sveltelens

Tell me what's missing for your stack. Issues and PRs are both fine.


r/sveltejs • • 2d ago

Updated my Svelte driving game (Self-Promo)

6 Upvotes

I’ve been working on Planet 0 Drive, a low-poly driving game built with Svelte & Three.js. I posted about it here about a month ago, and have spent the time since adding to the game and working on how the app and engine fit together.

Svelte handles the HUD, radar, menus, settings, and quest UI.

Since the last post, I’ve added procedural checkpoint races and leaderboards, towable vehicle rescues, hourly quests, more terrain biomes, and new landmarks. I’ve also been working on terrain streaming, rendering performance, and multiplayer updates.

Planet 0 Drive started as an experiment but has become a weekend building addiction.

Play: https://planet0drive.vercel.app/

Blog: Building Planet Zero Drive


r/sveltejs • • 3d ago

[self-promo] svelte-draw: an infinite canvas for Svelte 5, where every shape and tool is a plugin

Post image
69 Upvotes

A whiteboard in one component where shapes and tools are plugins based on architecture ideas from tldraw. So you can build the UI in your own design (or adapt the demo's).

This is early development and I've only tested it in Chrome so far but I couldn't wait to share the progress. As with most of my work nowadays I used AI to build this lib from scratch and I still need to finish reviewing and polish the API, i.e. there might still be some larger changes.

MIT license


r/sveltejs • • 4d ago

Major updates to mdsvex, v1.1 released

Thumbnail
youtube.com
35 Upvotes

The documentation site was also overhauled: https://mdsvex.pngwn.at


r/sveltejs • • 3d ago

Help a beginner. The task is to create a server that handles responses.

0 Upvotes

I need to build a server SvelteKit where users can connect and submit their answers. My question is: how many simultaneous connections can such a server handle?

At peak times, up to 200 users might connect simultaneously. They will load an initial page containing an image, a question, and multiple-choice answers. Then they will click on their chosen answer. Each submitted answer will be saved into an SQLite database. Is this feasible? Specifically, would it work on a basic VDS (Virtual Dedicated Server) with one CPU core and 2 GB of RAM?

Thanks!


r/sveltejs • • 4d ago

[Self-Promo] Artavolo, an Airtable-style database built in Svelte 5

32 Upvotes

4+ year old project. We started the frontend in Vue. About 5 months ago we decided to move to Svelte 5, mainly for two reasons: performance and bundle size. A database app lives or dies by how a big table feels when you scroll, edit and switch views, and we kept fighting the framework to get there. Every screen is Svelte 5 now.

Video above is a quick run through: editing in the grid, dragging a card on the kanban, the timeline, and comments with up/down votes on a record.

As part of the move we replaced the grid with a Svelte 5-based data grid. It's called SvGrid. The core package (@svgrid/grid) is MIT and on npm.

Things we found during the process and which may help you in your own projects:

.svelte.ts modules instead of stores. Comments, permissions, the signed in user, each one is a small file with $state at the top and normal functions around it. Super easy to test with vitest and jsdom.

$state.raw for anything big. Rows and comment lists are raw and we just replace the array when something changes. Deep reactivity on every cell of a big table is exactly what we were trying to get away from.

Field types as plain objects plus a cell component. When we added a Button field or the "only the approver can approve this record" rule, it was a few files, not a rewrite.


r/sveltejs • • 4d ago

Filter matrix, stretchy switch, agent tree, and 22 more shadcn-svelte components

9 Upvotes

I designed a small set of UI components on top of shadcn-svelte, in my own registry, so you can install them with the shadcn-svelte CLI.

https://ui.simon-lund.com

A few are stock ones I wanted to feel better, like an animated checkbox, a switch with a stretchy knob and animated tabs with directional view changes.

But most are components shadcn-svelte doesn't have (yet), like a dial, a swipe deck and a voice meter.


r/sveltejs • • 5d ago

Unfinished Business | Rich Harris | Svelte Summit 2026

Thumbnail
youtube.com
86 Upvotes

r/sveltejs • • 4d ago

[Self-promotion] VinUI: open-source Svelte 5 components with 8 CSS-variable styles, added as source files

3 Upvotes

Self-promotion disclaimer: I made this.

VinUI is an MIT-licensed UI library with Svelte 5 support, alongside React, Vue and plain HTML. A CLI copies the component source into your project instead of adding a runtime package:

npx /ui init
npx u/vinish/ui add <component>
  • 63 components, 13 page blocks and 16 SVG charts with tooltips and keyboard support
  • Eight visual styles with the same component names and props. Each style is just CSS variables.
  • Accessibility checked against WCAG 2.2 AA in every style, in light and dark

Repo: https://github.com/devvinish/vin-ui

Docs: https://vinish.dev/ui


r/sveltejs • • 6d ago

Svelte's official blog - Monthly post for November.

37 Upvotes

I always look forward to the monthly blog posts that go live around the start of each month: https://svelte.dev/blog

There's new features, and most importantly, showcases about what people are building.

Did we miss this month?


r/sveltejs • • 6d ago

I built a way to ship a SvelteKit app as an Android app's UI, with signed over-the-air updates

13 Upvotes

I've been building Valence, an open-source (MIT) way to use a SvelteKit app as the whole UI of a native Android app. The third beta (0.4.0-beta.2) came out today, and SvelteKit is the stack I test it with most, so I'd value this sub's take.

The SvelteKit side stays a normal SvelteKit app.

  • adapter-static with fallback: 'index.html' and ssr = false in the root layout. The same build still works as a website.
  • npm create valence@latest in your project detects SvelteKit, writes a config, and generates a typed bridge into src/lib/valence/bridge.g.ts. It now warns you if you're still on adapter-auto.
  • You call native things through that typed file:
import { onMount } from 'svelte';

import { call, inHost, ready } from '#lib/valence/bridge.g';

onMount(async () => {
  if (inHost()) {
    const app = await call('app.info', {});
    // ...render with native data
    await ready();
  }
});

What happens on the phone

  • A small Flutter app ships through the Play Store once. After that, every UI release is your build/ folder, hashed and signed with an Ed25519 key, uploaded to any static host.
  • Each phone checks the signature and every file's hash, then runs the new version as a trial. If your page doesn't call ready(), it fails the trial; after two failures the phone goes back to the last good version on its own.
  • Rollouts can start at 10% of phones and go up without re-signing anything.
  • Remote push (Firebase) now works end to end on Android: a push tells the phone to sync, even when the app is closed.
  • App data lives in SQLite on the phone and syncs with your own backend, so the app works in airplane mode from the first launch.

One SvelteKit tip from testing. By default SvelteKit writes a timestamp into _app/version.json, so two builds of the same code differ and an update or rollback downloads files it didn't need to. Setting kit.version.name to the git commit makes builds reproducible, and as of today the wizard warns you if it isn't set.

Limits: Android is supported; iOS is experimental and untested. Store rules allow downloaded JS in a WebView as long as the app's purpose doesn't change; the docs quote the exact wording.

Quick start: https://getvalence.dev/docs/getting-started/quick-start/ Code and spec: https://github.com/valence-dev/valence

If you try it with your SvelteKit app, I'd like to know where it got in your way.


r/sveltejs • • 6d ago

status: an emoji and your status, built with SvelteKit

Thumbnail
gallery
6 Upvotes

I've been building something with SvelteKit and Svelte 5 and it's out today: status. It's all about breaking the ice. Keeping in touch takes more than it should, so post an emoji and a few words and your people can react, reply or message you for a natter.

Simplicity and speed: one thing, done well. I chose SvelteKit and Fastify because they are easy to work with and modern. TypeScript makes my life easier. The iPhone and Android apps are Capacitor shells around the live site. Capacitor has worked very well with SvelteKit.

How and why I built it: https://feedmypixel.com/status

Have a play at https://status.me and let me know what you think.


r/sveltejs • • 7d ago

Built the Sveltekit Starter Template I wish I've had found

16 Upvotes

Around two years ago I started to go all-in on Svelte as my main framework for shipping UIs. So Sveltekit was the next logical step and started to build more and more stuff with it.

Especially prototypes, and now with AI I've finally got the time to actually ship finished products.
But I did not want to start from scratch all the time, so I looked at the `sv` CLI of course, and there are many templates, but all of them felt like they wanted to sell me something.

So I mostly started from the plain Sveltekit starting point and started building.

But again and again I pulled in the same things, and focused much more on getting things going with ease and not something that is scaled for eternity.

I know put my years of experience as developer and the last year of building a LOT with agents into one template. https://github.com/nerdwerk/sveet

Project is called Sveet and it runs in a sandbox by default, comes with simple but proven tech, and focuses on getting you off the ground with the agent of your choice in no time.

It will for sure not be for everyone, and thats okay. It's one opinionated starter template.
So, I do hope it's useful for some of you. Feedback is welcome, contributions are open ... and I'm back building more stuff with it now.


r/sveltejs • • 7d ago

[self-promo] AV Schematic builder for Svelte

Post image
3 Upvotes

We've just released a new starter app for Svelte - an AV Schematic designer. Drag devices onto a canvas, connect ports of the same type with cables, export the whole thing as a DXF. Demo on our site is here: https://visuallyjs.com/demonstrations/av-schematic and the GitHub repository is here: https://github.com/visuallyjs-svelte/av-schematic


r/sveltejs • • 7d ago

I got tired of describing UI edits to my agents, so I built a free UI visual editor that writes straight into my SvelteKit codebase

0 Upvotes

Hey guys, my name is Andrea 👋 still undecided if I'm more a dev or a designer, but for sure a nerdy girl who loves building tools with SvelteKit :)

I'd just like to show a new side project of mine, a free, open source "Figma inside your codebase" for people coding with AI agents

Click an element in your running app, change spacing/colors/states visually, and it writes the diff into your actual source.
Works next to Claude Code and Cursor, no AI credits, no lock-in. Apache 2.0.
npx feega to try it or download the extension for VS Code / Cursor / Windsurf etc.

Obv, supporting SvelteKit projects!

Feedback super welcome, especially the harsh kind!!!

Repo: GitHub.com/andreabuttarelli/feega
Website: Feega.app
Docs: docs.feega.app

Happy coding! 🌈💕


r/sveltejs • • 10d ago

Custom renderer added to svelte!!!!

154 Upvotes

Guys rich finally merged custom render to main !!

https://github.com/sveltejs/svelte/commit/8720544ff76456198c8b434d09e8b4a8b59d3b8c

we will be getting svelte native and lynx support anytime soon then!!