Rust / UI module

HRML

The language this website is built with.

production

HRML is a static-site generator with reusable components, component hoisting and MDX support. This website is built with it.

GitHub

Rust / UI module

Declare

<?component id="badge"?>
<?bind var="text"/>
<b class="badge">$text</b>
<?/component?>

Use

<?use id="badge"
  text="Suspicious"/>
<?use id="badge"
  text="Unsuspicious"/>
Rendered
Suspicious Unsuspicious