---
title: '
For a comprehensive guide on using this component, see the [Team Selection documentation](/docs/neon-auth/concepts/team-selection).
## Props
- `urlMap` (optional): `(team: Team) => string` — A function that maps a team to a URL. If provided, the component will navigate to this URL when a team is selected.
- `selectedTeam` (optional): `Team` — The initially selected team.
- `noUpdateSelectedTeam` (optional): `boolean` — If true, prevents updating the selected team in the user's settings when a new team is selected. Default is false.
## Example
```tsx
import { SelectedTeamSwitcher } from '@stackframe/stack';
export default function Page() {
return (