# File > Import: an XVA file streamed to XAPI's /import, into a storage repository (src/Form/ImportForm.php)form: title: 'Import' dialog: true width: 580 fontSize: 13 accent: '#0078d7' layout: column padding: 20 gap: 10 children: - type: row gap: 12 children: - {class: App\Gui\IconBox, kind: new-vm, width: 32, height: 32} - type: column gap: 0 children: - {type: label, text: 'Import a VM', style: subtitle} - {type: label, id: where, text: '', style: muted, size: 12} - {type: label, text: 'XVA file (exported by XenCenter, Xen Orchestra or xe vm-export):'} - type: row gap: 8 children: - {type: textbox, id: path, grow: 1, events: {change: onFileChange, submit: onImportClick}} - {type: button, id: browse, text: 'Browse…', events: {click: onBrowseClick}} - {type: label, id: info, text: '', style: muted, size: 12, wrap: true} - type: grid gap: 8 children: - {type: label, text: 'Home server:', span: 4} - {type: combobox, id: home, items: [], span: 8} - {type: label, text: 'Storage:', span: 4} - {type: combobox, id: sr, items: [], span: 8} - {type: label, id: error, text: '', color: '#d1242f', wrap: true} - type: row gap: 8 children: - {type: spacer} - {type: button, id: import, text: 'Import', style: primary, default: true, events: {click: onImportClick}} - {type: button, id: cancel, text: Cancel, cancel: true, events: {click: onCancelClick}}