# <aside>

A side note set apart from the main text, as HTML's aside element; it works like a block.

Category: Layout.

```ham
<column style="gap-12">
    <p>Sourdough needs a starter that has been fed in the last 12 hours.</p>
    <aside style="bg-amber-50 dark:bg-gray-800 border-l-4 border-amber-500 p-12 rounded-lg">
        <text style="font-bold">Tip</text>
        <text>A spoon of starter that floats in water is ready to bake with.</text>
    </aside>
</column>
```

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

## Attributes

| Name | What it does | Default |
|---|---|---|
| `autoscroll-delay` | Autoscroll delay in seconds | `0.0` |
| `autoscroll-loop` | Whether autoscroll loops | `false` |
| `autoscroll-restart` | Autoscroll restart delay in seconds, or 'false' to disable |  |
| `autoscroll-speed` | Autoscroll speed in pixels per second |  |
| `autoscroll-target` | page: scroll the screen; self: scroll inside this box (give it a height). parent is accepted as self. (page, self) | `page` |
| `style` | Style classes |  |

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.

## 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.
- [`<p>`](https://hypeapps.dev/docs/reference/p.md): A paragraph: text and inline elements that flow onto as many lines as they need.
- [`<text>`](https://hypeapps.dev/docs/reference/text.md): A run of text; with @text it shows an expression that updates as its variables change.
- [`<address>`](https://hypeapps.dev/docs/reference/address.md): Contact details as a block, in italic by default, as HTML's address element.
- [`<background>`](https://hypeapps.dev/docs/reference/background.md): The layer a swiped dismissible row reveals behind it, such as a red delete strip.
- [`<block>`](https://hypeapps.dev/docs/reference/block.md): The general-purpose container: groups children and gives them padding, color, corners and a border.
- [`<card>`](https://hypeapps.dev/docs/reference/card.md): A surface for grouped content, with padding, rounded corners and a soft shadow.
- [`<center>`](https://hypeapps.dev/docs/reference/center.md): Centers its children and their lines of text, on both axes or only one.

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