Skip to content

LitSX 1.0Standard JSX for Lit

Type-safe web components, server rendering, and Lit-native primitives without a React runtime.

TypeScriptTypeScript firstMinimal runtime surfaceLitBuilt on Lit
LitSX flame

What is Litsx?

Litsx is a compiler and runtime for authoring Lit-based web components with standard JSX and TSX. Lit remains the rendering engine and custom elements remain the runtime boundary.

  • ordinary JSX prop names with compiler-driven Lit binding inference
  • on:event listeners and typed custom events
  • state, refs, effects, suspense, transitions, and error boundaries
  • component metadata through normal top-level assignments

Built for the whole component lifecycle

  • Vite compilation and standard TypeScript tooling
  • document SSR, scoped rendering, resource snapshots, and hydration
  • Lit CSS templates plus optional integrations such as UnoCSS
  • Storybook helpers for standard TSX stories
  • an optional React compatibility pipeline for staged migrations

Start with the 1.0 model