Skip to main content
SolidBase

Project Selector

since 0.5.0Source

Project switcher for sites that configure routes.project.

Data Source

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

Behavior

  • omitted when fewer than two project options are available
  • uses Kobalte Popover
  • displays each project option's meta.label when provided, otherwise the option name
  • navigates to the selected project's route root
  • keeps project options visible across version gaps by falling back to a valid route selection for the target project
  • supports external project values through href

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

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