> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corti.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# template.pickerOpened

> Emitted when the template picker opens.

## Event Properties

| Field          | Value                     |
| -------------- | ------------------------- |
| `event`        | `"template.pickerOpened"` |
| `confidential` | `boolean`                 |
| `payload`      | `object`                  |

<Tabs>
  <Tab title="Public Payload">
    | Field                   | Type                          | Description                                                  |
    | ----------------------- | ----------------------------- | ------------------------------------------------------------ |
    | `location`              | `"settings" \| "interaction"` | Where in the UI the picker was opened from                   |
    | `personalTemplateCount` | `number \| undefined`         | Number of personal templates available when the picker opens |

    #### Example

    ```json theme={null}
    {
      "event": "template.pickerOpened",
      "confidential": false,
      "payload": {
        "location": "settings",
        "personalTemplateCount": 3
      }
    }
    ```
  </Tab>

  <Tab title="Confidential Payload">
    | Field                   | Type                          | Description                                                  |
    | ----------------------- | ----------------------------- | ------------------------------------------------------------ |
    | `location`              | `"settings" \| "interaction"` | Where in the UI the picker was opened from                   |
    | `personalTemplateCount` | `number \| undefined`         | Number of personal templates available when the picker opens |

    #### Example

    ```json theme={null}
    {
      "event": "template.pickerOpened",
      "confidential": true,
      "payload": {
        "location": "settings",
        "personalTemplateCount": 3
      }
    }
    ```
  </Tab>
</Tabs>
