# <text>

A run of text; with @text it shows an expression that updates as its variables change.

Category: Text.

```ham
<column style="w-full gap-8">
    <text style="font-xl font-bold">Weekend in Porto</text>
    <text style="muted">3 nights, 2 guests</text>
    <text @text="'Total: $' + (3 * 140)"></text>
</column>
```

How Hype Apps draws it on a phone: [light](https://hypeapps.dev/img/tags/text-light.webp), [dark](https://hypeapps.dev/img/tags/text-dark.webp).

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

- [Your first screen](https://hypeapps.dev/docs/guides/first-screen.md)
- [Layout and styling](https://hypeapps.dev/docs/guides/layout.md)
- [Navigation](https://hypeapps.dev/docs/guides/navigation.md)
- [Forms and state](https://hypeapps.dev/docs/guides/forms.md)
- [Lists and loops](https://hypeapps.dev/docs/guides/lists.md)
- [Data and databases](https://hypeapps.dev/docs/guides/data.md)
- [A poll that syncs](https://hypeapps.dev/docs/guides/sync.md)
- [Who's using the app ($me)](https://hypeapps.dev/docs/guides/me.md)
- [Gestures](https://hypeapps.dev/docs/guides/gestures.md)
- [Animations and effects](https://hypeapps.dev/docs/guides/animations.md)
- [Drawing and media](https://hypeapps.dev/docs/guides/media.md)
- [Your own tags](https://hypeapps.dev/docs/guides/own-tags.md)
- [A seat picker](https://hypeapps.dev/docs/cookbook/seat-picker.md)
- [A cart with quantities](https://hypeapps.dev/docs/cookbook/cart.md)
- [A chat thread](https://hypeapps.dev/docs/cookbook/chat.md)
- [An hourly forecast](https://hypeapps.dev/docs/cookbook/forecast.md)
- [Rows the server updates (MoviePlz)](https://hypeapps.dev/docs/cookbook/movieplz-watchlist.md)
- [Pick the right match (MoviePlz)](https://hypeapps.dev/docs/cookbook/movieplz-match.md)
- [Search on the server (MoviePlz)](https://hypeapps.dev/docs/cookbook/movieplz-search.md)

## Related tags

- [`<column>`](https://hypeapps.dev/docs/reference/column.md): Stacks its children top to bottom, with a gap between them and an alignment across.
- [`<a>`](https://hypeapps.dev/docs/reference/a.md): A link: opens a web address, or a tel:, mailto: or sms: link in the phone's own app.
- [`<abbr>`](https://hypeapps.dev/docs/reference/abbr.md): An abbreviation with a dotted underline; its title shows as a tooltip on hover or long press.
- [`<b>`](https://hypeapps.dev/docs/reference/b.md): Bold text inside a paragraph, as HTML's b and strong.
- [`<blockquote>`](https://hypeapps.dev/docs/reference/blockquote.md): A quoted passage with an accent bar on the left, set apart from the text around it.
- [`<br>`](https://hypeapps.dev/docs/reference/br.md): A line break between pieces of text.
- [`<code>`](https://hypeapps.dev/docs/reference/code.md): Inline code in a monospace font on a gray background, flowing with the text around it.
- [`<dd>`](https://hypeapps.dev/docs/reference/dd.md): A definition in a definition list, indented under its term.

All tags: https://hypeapps.dev/docs/reference.md · The full reference: https://hypeapps.dev/llms.txt
