Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Layout

Frame

<frame> defines the canvas size and the top-level layout.

AttributeDefaultDescription
width1280Frame width in pixels
height720Frame height in pixels
classVuetify-style spacing class
layoutverticalUse horizontal for side-by-side children
gap16Gap between child elements
item-sizeconfig valueMax icon size for <item> elements
margin, margin-*Content inset in pixels
content-width, content-heightOverride usable content size
align`top

Container

<container> stacks children vertically by default. Use layout="horizontal" for horizontal placement.

<container class="pa-4" gap="16">
  ...
</container>

Row And Col

<row> and <col> provide a 12-column grid.

<row gap="20">
  <col span="8">...</col>
  <col span="4">...</col>
</row>

<row> and <col> are pure layout tags. They do not render borders or labels.

Spacing

class supports Vuetify-like spacing classes such as pa-4 and ma-4. Root frame margins inset content without changing the paper frame size.