# ComponentRoute

`interface` in `http` · v0.1.0-next.0

<https://docs.seedcord.org/packages/http/0.1.0-next.0/interfaces/component-route>

A button, select, or modal row. `kind` picks the per-kind map, `prefix` is the stable customId prefix the receiver routes by (the routeKey minus its layout hash).

```ts
interface ComponentRoute
```

## Properties

### kind

```ts
readonly kind: 'button' | 'stringSelect' | 'userSelect' | 'roleSelect' | 'channelSelect' | 'mentionableSelect' | 'modal'
```

### load

```ts
readonly load: () => Promise<unknown>
```

Lazy import of the handler module, evaluated on first hit.

### prefix

```ts
readonly prefix: string
```
