In WVUI we used the Storybook controls addon to creative configurable components, where the user could change props and slot contents and immediately see those changes reflected in the demo. This is particularly effective for components with lots of different states, like Button.
We should consider building something similar for our VitePress demos. I built a demo of this here (code).