> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# Defer Blocks

Six `@defer` blocks, one for each kind of trigger.


## What it shows

- **`@defer (when visible())`** — renders `<app-heavy>` once the signal turns `true`. See [`@defer`](/guide/defer.md).
- **`@defer (on timer(3000ms))`** — renders it after a delay, with no user action.
- **`@defer (on idle(500ms))`** — renders it once the app has a moment to spare, or after 500 ms if it stays busy that long. The timeout is new in Angular 22. On a device it renders on the next turn of the event loop instead ([Triggers](/guide/defer.md#triggers)).
- **`@defer (on interaction)`** — renders it when you tap the placeholder.
- **`@defer (on hover)`** — renders it when a finger touches the placeholder, or, in the web preview, when the mouse moves over it.
- **`@defer (on viewport)`** — renders it when you scroll the placeholder on screen.
- **`@placeholder` and `@loading`** — show content before the trigger fires and while the block loads.
- **The main bundle by default** — the deferred component still ships in your main **bundle** ([Glossary](/guide/glossary.md#bundle)) unless you turn on the `experimental_isLazyBundle` plugin option. See [`@blotch/angular-lynx-build`](/api/build/index.md).

## Related

- [Loading States](/examples/loading-states.md)
- [`@defer` on angular.dev](https://angular.dev/guide/templates/defer)
