# Fragment

**Kind:** Function

**Source:** [`src/jsx/base.ts`](https://github.com/honojs/hono/blob/main/src/jsx/base.ts#L421)

**Part of:** [Jsx](subsystem-src-jsx)

## Signature

```ts
function Fragment({
  children,
}: { key?: string children?: Child | HtmlEscapedString }): HtmlEscapedString
```

## Parameters

| Name | Type |
|---|---|
| `{
  children,
}` | `{ key?: string children?: Child | HtmlEscapedString }` |

**Returns:** `HtmlEscapedString`

## Used by

2 references from 2 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (2)

- `childrenToString` — `src/jsx/components.ts`:14
- `jsxDEV` — `src/jsx/jsx-dev-runtime.ts`:12
