---
title: Scrolling container
component: ./ScrollExample.tsx
category: basic
priority: 6
---

Use the editor inside a scrollable container.

---

The `Tldraw` component can be used inside of any layout, including a scrollable container. Note that the editor will accept mousewheel events unless it is "unfocused".
