Sign In

@solidjs/web

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solidjs/web

Solid's web runtime: client rendering, hydration, SSR, and DOM-specific control flow (Portal, Dynamic).

Source
npmnpm
Version
2.0.0-beta.21
Version published
Weekly downloads
12K
-3.85%
Maintainers
2
Weekly downloads
 
Created
Source

@solidjs/web

Solid 2.0's web platform runtime — DOM rendering, hydration, server-side rendering, and the web-only control-flow components (Portal, Dynamic).

Solid 2.0 (experimental beta). In 1.x this package was the solid-js/web subpath; in 2.0 it's a separate @solidjs/web package.

See solid-js's CHEATSHEET and MIGRATION guide for the 2.0 surface.

Entry points

// Browser / hydration
import { render, hydrate, Portal, Dynamic, dynamic } from "@solidjs/web";

// Server (SSR)
import {
  renderToString,
  renderToStringAsync,
  renderToStream,
  isServer
} from "@solidjs/web";

The control-flow components from solid-js (For, Show, Switch/Match, Loading, Errored, Repeat, Reveal) are also re-exported from @solidjs/web for convenience.

More

FAQs

Package last updated on 20 Jul 2026

Related posts