Skip to content

Docs: MegaMenu examples in a real site header with full panels - #572

Merged
lorant-one merged 4 commits into
previewfrom
docs/megamenu-examples
Nov 21, 2026
Merged

lorant-one merged 4 commits into
previewfrom
docs/megamenu-examples

Conversation

@lorant-one

Copy link
Copy Markdown
Member

This fixes Chirio board item 2547f35e from Lorant: "update megamenu examples with better UI".

The docs.once-ui.com/modules/megaMenu demos were a bare row of triggers in an empty box. apps/docs/src/product/MegaMenuExamples.tsx now puts them in a small site header for a made-up product, "Ledger". The header has a logo, the menu bar and a hero section for the panels to open over:

  • Product: two titled sections (Platform, Connect), with an icon tile and a description on each link.
  • Solutions: a custom content panel with a "By team" list beside a featured launch card (New tag, title, short copy, call to action).
  • Resources: one section of four links.
  • Pricing: a plain link.

The "Custom content" section reuses the same frame with only Solutions and Pricing. Both previews use previewPadding="0" so the panels fit inside the preview. The code tabs show the matching code. The hero and card titles are Text, not headings, so they stay out of the page's table of contents.

Screenshots (dark Product and Solutions, light Resources): /mnt/project-files/core-fixes/megamenu-examples.png


Generated by Claude Code

The demos were a bare row of triggers in an empty box. They now sit in a
site header (logo, bar, a hero for the panels to open over): section
panels with icons and descriptions, a custom panel with a featured launch
card, and a plain link. Previews use no padding so the panels fit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk
A brand glow, dot grid and mini bar chart above the copy, a read-more link,
and a narrower panel so it fits the preview.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk
@lorant-one
lorant-one merged commit 5de55c5 into preview Nov 21, 2026
11 of 12 checks passed
@lorant-one lorant-one added the approved label Nov 22, 2026 — with Claude
@lorant-one lorant-one mentioned this pull request Nov 22, 2026
5 tasks done
@lorant-one
lorant-one deleted the docs/megamenu-examples branch November 29, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants