<navigate>
A link around any element: tapping what's inside goes to another page.
<column style="items-start gap-12 w-full">
<navigate action="file:/orders.ham">
<row style="gap-12 items-center p-16 rounded-xl bg-indigo-50 dark:bg-indigo-900">
<icon name="local_shipping"/>
<text style="font-bold">Track your order</text>
<icon name="chevron_right"/>
</row>
</navigate>
</column>
Attributes
| Name | What it does | Default |
|---|---|---|
navigationalso stack |
Older spelling of swap: replace replaces the current page instead of pushing one (swap="replace"). push, replace |
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.