Skip to content

docs(examples): document UserPopup integration in reusable header - #984

Open
hippi345 wants to merge 1 commit into
feature-sliced:mainfrom
hippi345:cursor/integrate-userpopup-header-howto-9253
Open

hippi345 wants to merge 1 commit into
feature-sliced:mainfrom
hippi345:cursor/integrate-userpopup-header-howto-9253

Conversation

@hippi345

Copy link
Copy Markdown

Background

Closes #217

The issue asks for a HOWTO on wiring the UserPopup feature into the reusable app header example (previously shown in the widgets layer docs). That example is no longer on the site, while the page layouts guide already describes passing feature UI via render props/slots but had no concrete header walkthrough.

Changelog

  1. Under "Pass feature UI through render props or slots" in the page layouts guide, added a widgets/header example that optionally renders SearchBar and Navigation.
  2. Showed how pages pass <UserPopup /> through a userPopup prop so each route controls whether the signed-in user menu appears.
  3. Added a second page example without UserPopup to mirror headers that differ per route.

Note for translators: Only the English page was updated; locale mirrors were not changed (an issue can be opened for translator follow-up if needed).

Pass the user menu feature from pages into a reusable header widget
example in the page layouts guide.

feature-sliced#217
@Gaic4o
Gaic4o self-requested a review October 31, 2026 14:32

This branch has not been deployed

No deployments
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.

HOWTO: Integrate the UserPopup feature into the header example

1 participant