LUMEN
09LIBRARY

Patterns

Flows that go across components and pages. Each one is documented as annotated steps, with the rules that keep it compliant and the states it has to handle. Pick a pattern to see its flow.

PATTERN 01 · HOME · ALL PAGES

Audience router & role personalization

Route each visitor to the proof that matters to them in one tap, and keep the choice as they browse.

  1. 1ROUTER Choose a role Four cards under the hero. No dropdown.
  2. 2STATE Swap content Proof line, citation, secondary CTA, photo and CTA band all change together.
  3. 3STORAGE Persist Saved in localStorage as lumen.role, and restored on every page.
  4. 4GUARD Respect patients Picking "Patient" flips the header switch and hides HCP-only modules.
◎ RULES —The primary CTA stays "Request a demo" for professional roles; only the secondary changes. —The role is never inferred from tracking, only from an explicit choice. —Always offer a visible way to switch role.
STATES & EDGE CASES i EdgeNo role chosen: show the leadership proof with a neutral secondary. ◆ WarningPatient on an HCP-only URL: redirect to the patient hub with a notice.
09.2

System states, live

○ EMPTY STATE No saved studies yet Bookmark a study from the Evidence Hub and it will appear here for quick access. Browse studiesHow bookmarks work