Dstar Demo

Examples / Reference

Focused, copyable patterns for familiar application work. These pages explain Dstar's API seams and Phoenix integration; the showcase is reserved for the Datastar interactions that are easiest to understand by using them.

Form Validation

Native form submission, debounced checks, and targeted server feedback patches.

Active Search

A compact signal → event → filtered fragment example.

Server Components

Colocate reusable HEEx UI with stateless, module-routed event handlers.

Script Helpers

Reference execute_script, console_log, and redirect escape hatches safely.

Authentication Flow

Protect GETs, events, streams, and components with one Phoenix authentication path.