# <inline-content>

Lays its children out in a row that wraps onto new lines, with set gaps between them.

Category: Layout.

```ham
<inline-content spacing="8 8">
    <chip variant="choice"
          label="Vegetarian"/>
    <chip variant="choice"
          label="Gluten free"
          selected="true"/>
    <chip variant="choice"
          label="Spicy"/>
    <chip variant="choice"
          label="Under 30 minutes"/>
    <chip variant="choice"
          label="Dairy free"/>
</inline-content>
```

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

## Attributes

| Name | What it does | Default |
|---|---|---|
| `horizontal-space` | Horizontal spacing override | `0` |
| `spacing` | Spacing as 'val' or 'h,v' (comma or space separated) | `0` |
| `vertical-space` | Vertical spacing override | `0` |

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

- [`<chip>`](https://hypeapps.dev/docs/reference/chip.md): A compact chip: a label, a filter that toggles, a single choice in a set, or an action.
- [`<address>`](https://hypeapps.dev/docs/reference/address.md): Contact details as a block, in italic by default, as HTML's address element.
- [`<aside>`](https://hypeapps.dev/docs/reference/aside.md): A side note set apart from the main text, as HTML's aside element; it works like a block.
- [`<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.
- [`<col>`](https://hypeapps.dev/docs/reference/col.md): A box inside a row; its flex value sets its share of the row's width.

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