{"route":"/en-US-v0.13.1/reference/html/frame/","title":"Frame","description":"Documentation for the `frame` function.","part":null,"outline":[{"id":"summary","name":"Summary","children":[]},{"id":"parameters","name":"Parameters","children":[{"id":"parameters-body","name":"body","children":[]}]}],"body":{"kind":"func","content":{"path":["html"],"name":"frame","title":"Frame","keywords":[],"oneliner":"An element that lays out its content as an inline SVG.","element":true,"contextual":false,"deprecation":null,"details":"<p>An element that lays out its content as an inline SVG.</p>\n<p>Sometimes, converting Typst content to HTML is not desirable. This can be\nthe case for plots and other content that relies on positioning and styling\nto convey its message.</p>\n<p>This function allows you to use the Typst layout engine that would also be\nused for PDF, SVG, and PNG export to render a part of your document exactly\nhow it would appear when exported in one of these formats. It embeds the\ncontent as an inline SVG.</p>","example":null,"self":false,"params":[{"name":"body","details":"<p>The content that shall be laid out.</p>","example":null,"types":["content"],"strings":[],"default":null,"positional":true,"named":false,"required":true,"variadic":false,"settable":false}],"returns":["content"],"scope":[]}}}