---
url: "https://vueda.dev/v3/reference/api/js/use/useForwardPropsEmits/functions/useForwardPropsEmits.md"
title: "useForwardPropsEmits"
---

# useForwardPropsEmits

## Overview

Combines forwarded props with emit handlers. Drop-in replacement for reka-ui's
useForwardPropsEmits that supports both the array form and the object validator form
of defineEmits.

## Signature

`useForwardPropsEmits(props, emit)`

### Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| <span id="param-props">props</span> | `MaybeRefOrGetter` | yes |  |
| <span id="param-emit">emit</span> | `Function` | no |  |

### Returns

`ComputedRef`

## Source

`client/lib/use/useForwardPropsEmits.js:45`
