At left, a checked safe-HTML value reel sends five traces across a perspective table to heavy-framed proofs for an introductory hero, semantic article, selector stylesheet, metrics dashboard with report table, and component gallery with form, video, audio, and shadow-root template. At right, a separate external-writer carriage registers a successful output stack and returns a diagnostic waveform.
Typed HTML showcase generated on a five-proof drafting table

ff-html-examples

repository URL pending

Scope

ff-html-examples is a compact Agda companion library that exercises typed HTML and CSS construction through executable page examples. Its Showcase module defines reusable styles, selector-backed stylesheet data, document heads, and concrete pages ranging from an introduction and semantic article to a dashboard and component gallery. The Generate module renders safe HTML values into complete documents and invokes an external writer during type checking. HTML.Everything ties both modules into a single check surface, which the generated metadata records as three checked modules and 740 lines.

Most important results

The showcase assembles typed examples for tables, forms, media embeds, web-component templates, navigation, metrics, and cards into complete pages. It demonstrates both inline CSS values and a structured selector stylesheet, including a separately rendered stylesheet representation. Five named documents cover an introduction, a semantic article, selector styling, a dashboard, and a component gallery. The generation path accepts successful writer execution as a type-checking result and raises a detailed error containing the output path, standard output, standard error, and rendered input when writing fails.

Library modules

3 checked modules

Select a module to inspect its generated Agda source view.

Skip to content

Agda libraries

ff-html-examples

ff-html-examples is a compact Agda companion library that exercises typed HTML and CSS construction through executable page examples.

Typed HTML showcase generated on a five-proof drafting tableAt left, a checked safe-HTML value reel sends five traces across a perspective table to heavy-framed proofs for an introductory hero, semantic article, selector stylesheet, metrics dashboard with report table, and component gallery with form, video, audio, and shadow-root template. At right, a separate external-writer carriage registers a successful output stack and returns a diagnostic waveform.
At left, a checked safe-HTML value reel sends five traces across a perspective table to heavy-framed proofs for an introductory hero, semantic article, selector stylesheet, metrics dashboard with report table, and component gallery with form, video, audio, and shadow-root template. At right, a separate external-writer carriage registers a successful output stack and returns a diagnostic waveform.

Scope

ff-html-examples is a compact Agda companion library that exercises typed HTML and CSS construction through executable page examples. Its Showcase module defines reusable styles, selector-backed stylesheet data, document heads, and concrete pages ranging from an introduction and semantic article to a dashboard and component gallery. The Generate module renders safe HTML values into complete documents and invokes an external writer during type checking. HTML.Everything ties both modules into a single check surface, which the generated metadata records as three checked modules and 740 lines.

Most important results

The showcase assembles typed examples for tables, forms, media embeds, web-component templates, navigation, metrics, and cards into complete pages. It demonstrates both inline CSS values and a structured selector stylesheet, including a separately rendered stylesheet representation. Five named documents cover an introduction, a semantic article, selector styling, a dashboard, and a component gallery. The generation path accepts successful writer execution as a type-checking result and raises a detailed error containing the output path, standard output, standard error, and rendered input when writing fails.

Source browser

Modules

Browse modulesOpen generated Agda sources

Cabinet index

Explore Formal Foundry

Search the archive

Find a page

Type to search the published content.