# componentEmbedResponse

`function` in `discord-component-embed` · v0.2.2

<https://docs.seedcord.org/packages/discord-component-embed/0.2.2/functions/component-embed-response>

Builds the `Response` for a URL that a `<link rel="discord:component-embed">` tag points at. Return it from that route.

```ts
componentEmbedResponse(root: EmbedElement): Response
```

Builds the `Response` for a URL that a `<link rel="discord:component-embed">` tag points at. Return it from that route.

Parameters.

- `root` `EmbedElement`

Returns `Response`.
