---
title: Persistence key
component: ./PersistenceKeyExample.tsx
category: basic
priority: 2
---

---

If the `persistenceKey` prop is provided to the `<Tldraw/>` component, the editor will persist its data locally under that key.
