1. Reference
  2. Structure

<root>

The page's top-level container; it turns into a scroll view with pinned headers when it holds sticky sections.

Structure
root.ham
<root>
    <column style="gap-8">
        <text style="font-bold font-xl">Good morning, Ana</text>
        <text style="muted">You have 2 meetings today.</text>
    </column>
</root>
The snippet drawn by Hype Apps on a phone, in light mode The snippet drawn by Hype Apps on a phone, in dark mode
This snippet as Hype Apps draws it on a phone. It follows this page's light or dark theme.

Any tag also takes gestures: @on.tap, @on.longpress, @on.doubletap and @on.swipeleft (and right, up and down). @click runs on a tap too.

This page is also Markdown, and all of HAM is in llms.txt.