---
title: ""
---
Renders the appropriate authentication or account-related component based on the current route.
For detailed usage instructions, please refer to the manual section of the [setup guide](../getting-started/setup.mdx).
## Props
> }",
description: "Props to pass to the rendered components."
}
]}
/>
## Example
```tsx title="app/handler/[...stack].tsx"
import { StackHandler } from '@stackframe/stack';
import { stackServerApp } from "@/stack/server";
export default function Handler(props: { params: any, searchParams: any }) {
return (
);
}
```