Skip to content

feat(examples): modernize navigation, landing, and theme pages#610

Merged
axis-d0op merged 1 commit into
mainfrom
improve-examples-ui
Jul 24, 2026
Merged

feat(examples): modernize navigation, landing, and theme pages#610
axis-d0op merged 1 commit into
mainfrom
improve-examples-ui

Conversation

@axis-d0op

Copy link
Copy Markdown
Contributor

Summary

UI/UX pass on the examples app, focused on the side navigation, landing page, and theme token page, plus a unified copy button.

Side navigation

  • Rebuilt the sidebar as a custom component (no more NavDrawer) so icons and labels align consistently.
  • Active item highlight (brand tint + filled icon + left accent bar), hover/pressed states, collapsible Components/Styles groups with an animated chevron and a sub-item guide line.
  • Slimmer width and a lighter panel surface; unified the far-left icon rail onto the same surface (no more black stripe).

Top bar

  • Removed the clipped placeholder controls ("Use application menu", "Drawer version", "I AM CENTER") and moved the demo toggles into the help menu.
  • Defaults to the labeled application.

Landing page

  • Brand kicker pill, tightened hero hierarchy, and cleaner cards (icon badge instead of a rotating watermark).

Theme token page

  • Search now filters all sections (custom color, custom utility, and Fluent tokens), matching on token name and both values.
  • Matched substrings are highlighted, each section shows a live count, and there's an empty state plus a subtle row entrance animation.
  • Rebuilt the token list as a readable table with swatch chips.

Shared copy button

  • Added examples/src/components/copy-button.tsx with consistent styling and a "Copied!" checkmark confirmation.
  • Reused it for token, icon, illustration, and code-block copy actions (previously three separate implementations with an inconsistent icon and no feedback).

Verification

  • pnpm format, pnpm --filter examples lint (tsc + Biome), pnpm test, and pnpm build all pass.
  • Verified interactively in the dev server.

- Rebuild the side navigation as a custom sidebar with aligned icons, active highlight, collapsible groups and a lighter panel surface
- Unify the main-menu rail onto the same surface as the nav
- Declutter the demo top bar and move demo toggles into the help menu
- Refresh the landing page hero and cards
- Theme tokens: filter all sections, highlight search matches, add per-section counts, empty state and row animation
- Add a shared CopyButton and use it for tokens, icons, illustrations and code blocks
@axis-d0op
axis-d0op requested a review from a team as a code owner July 14, 2026 11:42
@axis-d0op
axis-d0op enabled auto-merge (squash) July 23, 2026 13:08

@markuslindmark markuslindmark left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

allright

@axis-d0op
axis-d0op merged commit 995c82f into main Jul 24, 2026
10 checks passed
@axis-d0op
axis-d0op deleted the improve-examples-ui branch July 24, 2026 13:20
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.

2 participants