Examples

Explore interactive examples showcasing the power and flexibility of ZX framework

View All Examples Code on GitHub

Interactive Examples

View source

CSR React Example

Client-side rendering with React component imported from a .tsx file to .zx file

View source

CSR Zig Example

Pure Zig client-side rendering using Zig's WASM target

Control Flow Examples

View source

For Loop

Iterating over collections and rendering lists

John

Admin

Jane

Member

Jim

Guest
View source

If Statement

Conditional rendering based on state

Admin

"Powerful"

Please log in to continue.

View source

Switch Statement

Pattern matching for complex conditions

Admin

Powerful

Form & Data Examples

View source

Form Example

Working with forms, validation, and submission

View source

Quick Example

A quick overview of core features

Loading...

Hello, ZX Dev!

John

20

Admin

Jane

21

Member