---
title: "Versions"
subtitle: "<Versions> and <Version> add an in-page version switcher."
---

An in-page version switcher; the selected version is stored in the `?v=` parameter. For examples and details see [Versions › In-page versions](../features/versions.mdx#in-page-versions-the-versions-component).

<ParamField path="Versions › paramName" type="string" default="v">Name of the query parameter that stores the selection.</ParamField>
<ParamField path="Version › version" type="string" required>Unique id, shown in the URL.</ParamField>
<ParamField path="Version › title" type="string">Name in the dropdown; defaults to `version`.</ParamField>
<ParamField path="Version › default" type="boolean" default="false">Shown when the URL has no version parameter.</ParamField>
