You can pass an existing component as content of the offcanvas panel.
Note that when using a component as content, the additional node introduced in the markup requires the component to have additional CSS styles to be applied if you want the content to be scrollable. See the code sample for details.