1. Reference
  2. Layout

<column>

Stacks its children top to bottom, with a gap between them and an alignment across.

Layout
column.ham
<column style="gap-12 w-full">
    <block style="w-full p-12 rounded-lg bg-teal-100 dark:bg-teal-900">
        <text>1. Preheat the oven to 200°C</text>
    </block>
    <block style="w-full p-12 rounded-lg bg-teal-100 dark:bg-teal-900">
        <text>2. Slice the potatoes thinly</text>
    </block>
    <block style="w-full p-12 rounded-lg bg-teal-100 dark:bg-teal-900">
        <text>3. Bake for 35 minutes</text>
    </block>
</column>
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.

Attributes

NameWhat it doesDefault
style Style classes (items-center, items-start, items-end, items-stretch)
string

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.

Guides and recipes that use it

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