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

# Block

After using the [CLI](https://docs.typebot.com/contribute/the-forge/cli.md) to create your new block. The `index.ts` file contains the block definition. It should look like:

![Block name and logo match](https://mintcdn.com/typebot/rHkgfCATWjP6ntzz/images/contribute/block-name-logo-match.png?fit=max\&auto=format\&n=rHkgfCATWjP6ntzz\&q=85\&s=81a8abbcb09b7f108d64f80c20a83335)

## Props

**id** `string` *required*

The block ID. It should be unique all the other blocks.

**name** `string` *required*

A concise name for the block. Should be short enough to fit into a small block
card.

**LightLogo** `(props: React.SVGProps\<SVGSVGElement\>) =\> React.JSX.Element` *required*

**DarkLogo** `(props: React.SVGProps\<SVGSVGElement\>) =\> React.JSX.Element`

Logo used on the dark mode.

**fullName** `string`

The full name that will be displayed as a tooltip when the mouse hovers the
block card.

**tags** `string[]`

List of strings describing the block. Used for block searching.

**auth** `Auth`

See [Auth](https://docs.typebot.com/contribute/the-forge/auth.md) for more information.

**actions** `Action[]`

A list of all the possible actions that this block provides. See&#x20;
[Action](https://docs.typebot.com/contribute/the-forge/action.md) for more information

**docsUrl** `string`

The dedicated documentation URL. (i.e.
`https://docs.typebot.io/editor/blocks/integrations/openai`)

**options** `z.ZodObject\<any\>`

Provide it if all the block actions share the same properties. See&#x20;
[Options](https://docs.typebot.com/contribute/the-forge/options.md) for more information. In the block settings it
will then be displayed between the auth and the actions:

&#x20;

![Block options](https://mintcdn.com/typebot/rHkgfCATWjP6ntzz/images/contribute/base-options.png?fit=max\&auto=format\&n=rHkgfCATWjP6ntzz\&q=85\&s=d5f56b01414d71a2fb26f29562e2b32e)

**fetchers** `Fetcher[]`

A list of fetchers used in the provided `options`. See&#x20;
[Fetcher](https://docs.typebot.com/contribute/the-forge/fetcher.md) for more information.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.