---
title: "file.newPresets: New Document Presets — Vector kit command — Kition"
description: "Answers the New Document presets by category (recent, saved, mobile, web, print and more) with their sizes."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/file.newPresets"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/vector/commands/file.newPresets](https://developer.kition.ai/docs/kits/vector/commands/file.newPresets)

# file.newPresets

**New Document Presets.** Answers the New Document presets by category (recent, saved, mobile, web, print and more) with their sizes.

- Kit: Vector 0.1.0 (.kvector); reference: [Vector kit commands](https://developer.kition.ai/docs/kits/vector.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `category` | `"Recent" \| "Saved" \| "Mobile" \| "Web" \| "Print" \| "Film & Video" \| "Art & Illustration" \| "Branding" \| "Social"` | no |  |

## Call through vector_run

```text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "file.newPresets" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `category`. vector_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `categories` | `object[]` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "categories": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string"
          },
          "presets": {
            "type": "array"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "category": {
      "enum": [
        "Recent",
        "Saved",
        "Mobile",
        "Web",
        "Print",
        "Film & Video",
        "Art & Illustration",
        "Branding",
        "Social"
      ],
      "type": "string"
    }
  },
  "returns": "{categories: [{name, presets: [{name, size: \"1920 × 1080 px\", width: pt, height: pt, units, orientation, artboards, artboardLayout: {layout, columns, spacing, rightToLeft}, bleed, backgroundContents, colorMode, rasterEffectsPpi, previewMode}]}]}; file.new {preset: name} starts from one",
  "type": "object"
}
```

Generated from the command list of @kition/vector-darwin-arm64@0.1.0 and the kit itself (vector_commands through @kition/cli@0.1.1, built from KitionAI/kition-vector@7cf908f).
