---
title: "board.sticky: Sticky note — Design kit command — Kition"
description: "Adds a sticky note with text and colour on a board; answers its id."
canonical: "https://developer.kition.ai/docs/kits/design/commands/board.sticky"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/design/commands/board.sticky](https://developer.kition.ai/docs/kits/design/commands/board.sticky)

# board.sticky

**Sticky note.** Adds a sticky note with text and colour on a board; answers its id.

- Kit: Design 0.1.0 (.kdesign); reference: [Design kit commands](https://developer.kition.ai/docs/kits/design.md)
- Changes the document: yes

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `author` | `string \| boolean` | no |  |
| `color` | `string` | no | yellow\|orange\|red\|pink\|violet\|blue\|green\|gray or hex; default the sticky tool's |
| `id` | `integer \| string` | no | read by the command beside its listed parameters |
| `parent` | `integer \| string` | no | an id (a number, or its digits as text) |
| `text` | `string` | no |  |
| `x` | `number` | no |  |
| `y` | `number` | no | its top-left, in the parent |

## Call through design_run

```text
design_run {
  "path": "<file>.kdesign",
  "steps": [{ "command": "board.sticky" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `author`, `color`, `id`, `parent`, `text`, `x`, `y`. design_run answers the step’s result in `completed[i].result`.

## Result

The kit gives no result schema for this command.

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "author": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "boolean"
        }
      ]
    },
    "color": {
      "description": "yellow|orange|red|pink|violet|blue|green|gray or hex; default the sticky tool's",
      "type": "string"
    },
    "id": {
      "description": "read by the command beside its listed parameters",
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ]
    },
    "parent": {
      "description": "an id (a number, or its digits as text)",
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ],
      "x-khp-types": [
        "Node"
      ]
    },
    "text": {
      "type": "string"
    },
    "x": {
      "type": "number"
    },
    "y": {
      "description": "its top-left, in the parent",
      "type": "number"
    }
  },
  "returns": "{id, text}",
  "type": "object"
}
```

Generated from the command list of @kition/design-darwin-arm64@0.1.0 and the kit itself (design_commands through @kition/cli@0.1.1, built from KitionAI/kition-design@abc7e16).
