---
title: "createElement"
source: "https://github.com/remix-run/remix/blob/remix@3.0.0/packages/component/src/runtime/create-element.ts#L13"
---

# createElement

## Summary

Creates a Remix virtual element from a JSX-like call signature.

## Signature

```ts
function createElement(type: ElementType, props: ElementProps, children: unknown[]): RemixElement

```

## Parameters

### `type`

Host tag, component function, or mixin host placeholder.

### `props`

Element props.

### `children`

Child nodes.

## Returns

A Remix virtual element.