# componentEmbedResponse

`function` in `discord-component-embed` · v1.0.0

<https://seedcord.org/docs/packages/discord-component-embed/1.0.0/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`.
