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

# use/useRouteProps

## Overview

Returns a computed ref of the resolved route props for the first matched route, supporting both object and function prop definitions.

## Methods

- [useRouteProps](/v3/reference/api/js/use/useRouteProps/functions/useRouteProps.md) - Returns a computed ref containing the resolved props for the first matched route.

## Source

`client/lib/use/useRouteProps.js:1`
