# Document

The Document is used by the View class to render the full Panel HTML document in Fiber calls that should not return just JSON objects

****

- Full class name: `Kirby\Panel\Document`
- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Panel/Document.php#L23>

****

### Document

- [Document::response()](https://getkirby.com/docs/reference/objects/panel/document/response.md)