Skip to content

Product Switcher#239

Merged
svix-lucho merged 2 commits intomainfrom
lucho/product-switcher
Oct 9, 2025
Merged

Product Switcher#239
svix-lucho merged 2 commits intomainfrom
lucho/product-switcher

Conversation

@svix-lucho
Copy link
Contributor

@svix-lucho svix-lucho commented Oct 8, 2025

Adds a product switcher menu to the sidebar.

I did it using headless-ui, since we don't have a component library here and I didn't want to bring in one. We already use headlessui in www.

The customization is done using the swizzling feature from Docusaurus, which lets us use custom components for the documentation layout. See https://docusaurus.io/docs/swizzling
Note that swizzling requires basically copy-pasting components from the base Docusaurus theme and changing them. The stuff under DocsSidebar is copied from the base theme, only ProductSwitcher was written by me.

Maybe we can add a bit more to it and make it more flashy, but this is a good start :)

Screen.Recording.2025-10-08.at.4.30.13.PM.mov

Closes https://github.com/svix/monorepo-private/issues/11538

@svix-lucho svix-lucho requested a review from a team as a code owner October 8, 2025 19:53
@vercel
Copy link

vercel bot commented Oct 8, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
svix-docs Ready Ready Preview Comment Oct 8, 2025 7:53pm

@svix-lucho svix-lucho merged commit 95fed5e into main Oct 9, 2025
3 checks passed
@svix-lucho svix-lucho deleted the lucho/product-switcher branch October 9, 2025 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants