Skip to content

feat(navbar): floating variant, link highlight and animated mobile menu - #70

Merged
sapatmohit merged 7 commits into
mainfrom
feat/redesign-navbar
Oct 19, 2026
Merged

sapatmohit merged 7 commits into
mainfrom
feat/redesign-navbar

Conversation

@sapatmohit

Copy link
Copy Markdown
Member

Description

  • Translucent blurred bar; new variant="floating" (inset rounded card).
  • Spring hover highlight across links; activeHref sets aria-current="page" on desktop and mobile.
  • shadcn primary CTA, ghost GitHub button, language menu matching LanguageSwitcher, globe fallback when showFlags is off (mobile trigger was empty).
  • Animated mobile panel with morphing hamburger; CTA and GitHub link now in the mobile panel.
  • New: classNames. Backward compatible. 5 new tests.

Closes #62

Type of change

  • Enhancement

Checklist

  • Dark mode / responsive styles considered
  • bun run lint passes
  • bun run typecheck passes
  • bun run test passes
  • CI checks pass

Notes

Stacked PR — base is feat/redesign-phone-input. Merge in order; GitHub retargets to main as each base merges.

@sapatmohit sapatmohit added enhancement New feature or request component New or modified component labels Oct 19, 2026
@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 36 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fc8e43d1-2c9f-4382-ad12-709af47f3e70
📥 Commits

Reviewing files that changed from the base of the PR and between 77dd0f4 and c40515f.

📒 Files selected for processing: 5
  • content/docs/components/navigation/navbar.mdx
  • src/registry/components/index.ts
  • src/registry/components/navbar.tsx
  • src/registry/registry.ts
  • test/navbar.test.tsx
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Base automatically changed from feat/redesign-phone-input to main October 19, 2026 19:01
@sapatmohit
sapatmohit merged commit 064455f into main Oct 19, 2026
2 checks passed
@sapatmohit
sapatmohit deleted the feat/redesign-navbar branch October 19, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component New or modified component enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redesign NavBar

1 participant