Executable specification page
A complete workflow review composition using a canvas, browser frames, state tabs, diagrams, and rules.
On this page
Render workflow
The preview executes the same complete specification page definition shown under Code; consumers own the actual workflow, rules, and product UI.
Render workflow
https://docs.example.test/render-workflow
let readyView = productScreen "ready"
let validationView = productScreen "validation"
let states =
docsStateTabs "page-example-render-states" "Render workflow states" [
{ id = "ready"; label = "Ready"; content = readyView }
{ id = "validation"; label = "Validation"; content = validationView } ]
let specificationPage =
docsCanvas "render-workflow" "Render a view" "Review the workflow." [
docsSection "wireframe" "Wireframe" [ docsCustom states ]
docsSection "sequence" "Sequence" [ docsSequence (sequence ()) ]
docsSection "rules" "Rules" [ docsBullets [ "Encode text and attributes."; "Return deterministic HTML." ] ] ]