# VM > New VM: the template, the name, the CPUs and memory, the home server, the storage and the network (src/Form/NewVmForm.php) form: title: 'New VM' dialog: true width: 600 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: 'New VM', style: subtitle} - {type: label, id: where, text: '', style: muted, size: 12} - type: grid gap: 8 children: - {type: label, text: 'Template:', span: 4} - {type: combobox, id: template, items: [], span: 8, events: {change: onTemplateChange}} - {type: label, text: 'Name:', span: 4} - {type: textbox, id: name, span: 8} - {type: label, text: 'Description:', span: 4} - {type: textbox, id: description, span: 8} - {type: label, text: 'Home server:', span: 4} - {type: combobox, id: home, items: [], span: 8} - {type: label, text: 'Number of vCPUs:', span: 4} - {type: textbox, id: vcpus, text: '2', span: 8} - {type: label, text: 'Memory (MB):', span: 4} - {type: textbox, id: memory, text: '2048', span: 8} - {type: label, text: 'Storage:', span: 4} - {type: combobox, id: sr, items: [], span: 8} - {type: label, text: 'Network:', span: 4} - {type: combobox, id: network, items: [], span: 8} - {type: checkbox, id: start, text: 'Start the new VM automatically', checked: true} - {type: label, id: error, text: '', color: '#d1242f', wrap: true} - type: row gap: 8 children: - {type: spacer} - {type: button, id: create, text: 'Create Now', style: primary, default: true, events: {click: onCreateClick}} - {type: button, id: cancel, text: Cancel, cancel: true, events: {click: onCancelClick}}