Embedded in Astro
Every section above is a <template flowview>region compiled by @flowview/astro at build time.
Capabilities
Every capability listed here is exercised by the real FlowView implementation and continuously verified in CI. The live results on this page are rendered by the same compiler you install, and the evidence labels say exactly what checks each one.
{{ value }} always becomes text, never markup.
{{{ value }}} inserts trusted, author-controlled HTML. FlowView does not sanitize it.
Conditional blocks, in both build-time and client views.
Loops with an empty fallback; track is accepted but does not preserve DOM identity.
@case and @default branches.
[disabled], [attr.aria-busy] and [class.active].
<template flowview={context} is:raw> inside a .astro file. This page is built with it.
A compiled .flow module imported by application code.
click, input, change, submit, keyboard, focus/blur, composition and toggle events.
Handlers receive the event, the element or serialized values.
Same-named handlers in different templates do not collide.
createView() owns one target and exposes scoped refs, binding, and disposal while rendering fresh HTML.
An independent signal library. A value can bind directly to a view, or be used without DOM.
Delegated handlers keep working with no rebinding code.
Text, textarea, checkbox, radio, select and details use native HTML defaults. There is no two-way binding, form framework or focus/caret preservation.
Hostile values in {{ }} render as inert text.
Multi-byte text survives; marker-looking text stays literal.
Event handling survives client-side navigation.
The Rust compile_static backend renders the same language without Node. It is verified by Rust and spec tests, not by this site.
{{ value }} escapes. {{{ value }}} inserts markup you wrote yourself. FlowView never sanitizes raw output, so only use it with trusted, author-controlled HTML.
<strong>Hello</strong>
Hello
<img src=x onerror="globalThis.__flowviewCapabilitiesXss = true">
Draft
Published
Unknown status
Unknown status
é € 🙂 � contact@if.example
@if {{ value }} {{{ value }}} 🙂 }
Every section above is a <template flowview>region compiled by @flowview/astro at build time.
client-items.flow is compiled to a module and rendered in the browser. Seethe client DOM demo.
@flowview/dom and @flowview/reactive are independent optional libraries; the application composes them explicitly. Native static rendering in Rust is verified by the compiler and specification test suites and is not demonstrated in the browser.