Post

📊 LayerChart: CSS-only, simplified integration, Html primitives, and more! Massive `2.0.0-next.39` release brings: 🎨 CSS-only usage ↔️ Simplified integration (Skeleton, Svelte UX, daisyUI, …) ↪️ REPL compatibility 🏗️ HTML primitives 👆 Improved touch event handling 📦 …more! details ↓

6 reposts47 likes

Some of this is blocked (at least easier to implement) once the docs are moved back to markdown, but hoping for some tooling improvements first. bsky.app/profile/tech...

Sean Lynch@techniq.dev

Any thoughts on running the Svelte language server within a markdown codeblock? ```svelte ``` *.md files or even a specific extension such as *.mdsx. This was the cause of my biggest pain points when writing LayerChart/etc docs in md. cc: @rich-harris.dev @paolo.ricciuti.me @joshnuss.com

🎨 CSS-only usage The LONG awaited CSS-only version of LayerChart is now available. This version still retains the same first-class Tailwind support (is a drop-in update with no changes) but now you can simplify: 1️⃣ `import { … } from 'layerchart';` 2️⃣ profit! plus...

↔️ Simplified integration Integration for popular frameworks like shadcn-svelte, Skeleton, daisyUI, and Svelte UX are now just a single CSS import. We've also added examples for each as well as standalone usage (no Tailwind) with light/dark mode toggling. github.com/techniq/laye... and…

↪️ REPL compatibility LayerChart is now compatible with the Svelte REPL due to recent improvements to the REPL (thanks @dummdidumm.bsky.social!) and library (css-only). There are additional improvements planned (better dependency / component separation) but SO happy it now "just works". and…

🏗️ HTML primitives All applicable components now support `<Html>` layers (along with Svg/Canvas support). This includes Circle, Line, Rect, Text, Group, Ellipse, and LinearGradient primitives and transitively Axis, Grid, Labels (and many more). and…

That it did! Also over 20k/week downloads last week, and already a 20% increase this week (before this release 😁)! I'm glad people are finding the library and benefiting from the effort.