structyl

No SSR

stable

Defers rendering until after mount.

Basic usage

Rendering on server…

Examples

Browser-only value

Show content that relies on browser APIs — safe on the server, accurate on the client.

Rendering on server…

Deferred with one frame

Pass defer to delay one animation frame after mount, smoothing flash for slow renders.

Loading…

fallback and defer

fallback shows during SSR; defer waits one animation frame after mount.

Server fallback

Features

  • SSR-safe fallback.
  • Client-only children.

Installation

bash
pnpm dlx structyl add no-ssr

API Reference

No SSR API reference

Full props, types, defaults.

View API
No SSR | structyl