Tabs
Shadcn tabs reconstructed on Proto UI.
Content mount policy
Section titled “Content mount policy”TabsContent uses a lazy L1 view by default:
- only the current panel materializes a host view;
- an inactive panel detaches its view while preserving its Proto instance, state, and exposes;
keepMounted={true}is the only view-retention option and keeps the complete inactive view mounted.
Web Component keeps the custom element as the owner and hides that owner while its internal view is detached. Reactivating the panel materializes a new view inside the same Proto instance owner.