Adapter playground

HTML first. Netlify ready.

Static pages from the CDN. Server scripts when you need them. Explore real Bascik components, streaming HTML, and API routes on Netlify Functions.

Explore rendering features

<script data-bascik-server>

Server scripts

Render a greeting and platform context for every request, before headers commit.

<script data-bascik-stream>

Streaming HTML

The shell arrives first. Delayed content follows, even with JavaScript disabled.

Request-time components

Components and slots

Scoped styles, props, nested server scripts, and slots rendered in a Netlify Function.

GET /api/context

API routes

Inspect the native platform context. The test suite also checks routing, cookies, and headers.

Small scripts. Independent state.

Two instances of the same component, each with its own scoped client script.

Independent counter

Count: 0

Independent counter

Count: 0