Skip to main content
SolidBase

Version Selector

since 0.5.0Source

Version switcher for sites that configure routes.version.

Data Source

  • useSolidBaseRoute()
  • getSolidBaseRouteFallbackOptions(routes, "version", currentSelection)

Behavior

  • omitted when fewer than two version options are available
  • uses Kobalte Popover
  • displays each version option's meta.label when provided, otherwise the option name
  • navigates to the selected version's route root
  • scopes available versions to the current project
  • supports external version values through href

Last updated: 4/22/26, 9:58 PM

SolidBaseFully featured, fully customisable static site generation for SolidStart
Community
githubdiscord