# <screen>

A full app screen: the frame that holds the app bar, the main content, drawers and bottom navigation.

Category: Structure.

```ham
<screen>
    <app-bar title="Inbox"/>
    <main>
        <column style="w-full p-16 gap-8">
            <text style="font-bold">3 new messages</text>
            <text style="muted">Pull down to refresh.</text>
        </column>
    </main>
</screen>
```

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

## Attributes

| Name | What it does | Default |
|---|---|---|
| `autoscroll-delay` | Delay before autoscroll starts in seconds | `0.0` |
| `autoscroll-loop` | Whether autoscroll loops continuously | `false` |
| `autoscroll-speed` | Autoscroll speed in pixels per second |  |
| `bg_color` | Background color of the screen |  |
| `round-safe` (also `round_safe`) | On a round watch: true keeps the page inside the circle (inset to the square it holds, a short page in its middle); false runs it full-bleed. Default: <config round_safe>, else true. |  |
| `status_bar` (also `status-bar`) | Status-bar icons: light (white, for a dark page), dark, or auto (from the screen background; an app bar picks from its own color). Default: <config status_bar>. (light, dark, auto) | `auto` |
| `swipe-dismiss` (also `swipe_dismiss`) | On a watch: true lets a swipe from the left edge go back one page (the first page: leave the app), as Wear expects; false leaves the swipe to the page (a map, an edge carousel) and back to the system back. Default: <config swipe_dismiss>, else true. |  |

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

- [`<app-bar>`](https://hypeapps.dev/docs/reference/app-bar.md): The bar at the top of a screen: a title, a leading menu icon, and action icons on the right.
- [`<column>`](https://hypeapps.dev/docs/reference/column.md): Stacks its children top to bottom, with a gap between them and an alignment across.
- [`<text>`](https://hypeapps.dev/docs/reference/text.md): A run of text; with @text it shows an expression that updates as its variables change.
- [`<drawer-header>`](https://hypeapps.dev/docs/reference/drawer-header.md): The header at the top of a side drawer, such as the signed-in person's photo and name.
- [`<drawer-left>`](https://hypeapps.dev/docs/reference/drawer-left.md): A drawer that slides in from the left edge, opened by the menu icon or #id.open.
- [`<drawer-right>`](https://hypeapps.dev/docs/reference/drawer-right.md): A drawer that slides in from the right edge, for filters or details; open it with #id.open.
- [`<list-tile>`](https://hypeapps.dev/docs/reference/list-tile.md): A Material list row with an icon, a title, a subtitle and an optional switch, checkbox or radio.
- [`<navigate>`](https://hypeapps.dev/docs/reference/navigate.md): A link around any element: tapping what's inside goes to another page.

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